diff --git a/core/models/profile.py b/core/models/profile.py index b20f6d797ee262932f42bd72e1db26cafaee84d1..f58d82f0c47f3e09db896697e0a4a0c3f80399b1 100644 --- a/core/models/profile.py +++ b/core/models/profile.py @@ -16,7 +16,7 @@ class Profile(TimeStampedModel): affiliation = models.CharField( max_length=100, verbose_name="Name of your organization in English", ) - photo = models.ImageField(upload_to='media/', max_length=100000, null=True, blank=True, default="https://static.productionready.io/images/smiley-cyrus.jpg") + photo = models.IntegerField(default=1) def __str__(self): return self.user.username