Commit 38671a7c authored by Joseph Izon's avatar Joseph Izon 💀

fix id_num model

parent 3091e587
...@@ -18,7 +18,7 @@ class WidgetUser(models.Model): ...@@ -18,7 +18,7 @@ class WidgetUser(models.Model):
middle_name = models.CharField(max_length=50) middle_name = models.CharField(max_length=50)
last_name = models.CharField(max_length=50) last_name = models.CharField(max_length=50)
id_num = models.IntegerField(max_length=7, default="") id_num = models.CharField(max_length=7, default="")
email = models.EmailField(max_length=100, null=True) email = models.EmailField(max_length=100, null=True)
dept = models.ForeignKey(Department, on_delete=models.CASCADE,) dept = models.ForeignKey(Department, on_delete=models.CASCADE,)
image = models.FileField(upload_to='static/homepage/', blank=True, null=True) image = models.FileField(upload_to='static/homepage/', blank=True, null=True)
......
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