Skip to content

Commit

Permalink
Fix error in some migrations. (see #808)
Browse files Browse the repository at this point in the history
  • Loading branch information
jnga committed Aug 23, 2024
1 parent bad14af commit d759d50
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gobotany/plantshare/migrations/0005_auto_20180519_1746.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='screenedimage',
name='image',
field=imagekit.models.fields.ProcessedImageField(storage=storages.backends.s3boto3.S3Boto3Storage(bucket='newfs', location='upload_images'), upload_to=gobotany.plantshare.models.rename_image_by_type),
field=imagekit.models.fields.ProcessedImageField(storage=storages.backends.s3boto3.S3Boto3Storage(location='upload_images'), upload_to=gobotany.plantshare.models.rename_image_by_type),
),
]
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='screenedimage',
name='image',
field=imagekit.models.fields.ProcessedImageField(storage=storages.backends.s3boto3.S3Boto3Storage(bucket='newfs', location='upload_images'), upload_to=gobotany.plantshare.models.rename_image_by_type),
field=imagekit.models.fields.ProcessedImageField(storage=storages.backends.s3boto3.S3Boto3Storage(location='upload_images'), upload_to=gobotany.plantshare.models.rename_image_by_type),
),
]
2 changes: 1 addition & 1 deletion gobotany/site/migrations/0008_alter_document_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='document',
name='upload',
field=models.FileField(storage=storages.backends.s3boto3.S3Boto3Storage(bucket='newfs', location='docs'), upload_to=''),
field=models.FileField(storage=storages.backends.s3boto3.S3Boto3Storage(location='docs'), upload_to=''),
),
]

0 comments on commit d759d50

Please sign in to comment.