Skip to content
Snippets Groups Projects
Commit 87229152 authored by Chris Li's avatar Chris Li
Browse files

Change Profile image field to int.

parent bcbe7905
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment