Commit c5f90d3f authored by Joseph Izon's avatar Joseph Izon 💀

Add image model for the homepage widget user

parent bb9d7653
......@@ -9,6 +9,7 @@ class WidgetUser(models.Model):
id_num = models.CharField(max_length=7, default=0)
email = models.EmailField(max_length=100, null=True)
image = models.FileField(upload_to='static/homepage/', blank=True, null=True)
def __str__(self):
return self.last_name
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment