misc: update migration to change upload path from bytes to strings

This commit is contained in:
Frédéric Péters 2020-01-20 14:44:47 +01:00
parent 3177f5067d
commit bdc78a81f4
1 changed files with 1 additions and 1 deletions

View File

@ -14,6 +14,6 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='page',
name='picture',
field=models.ImageField(upload_to=b'page-pictures/', null=True, verbose_name='Picture'),
field=models.ImageField(upload_to='page-pictures/', null=True, verbose_name='Picture'),
),
]