diff --git a/project/example_app/models.py b/project/example_app/models.py index d357125e..32b4ff94 100644 --- a/project/example_app/models.py +++ b/project/example_app/models.py @@ -5,7 +5,7 @@ class Product(models.Model): - photo = ImageField(upload_to=b'products') + photo = ImageField(upload_to='products') class Meta: abstract = True