Commit 48e3ecef authored by Anya Habana's avatar Anya Habana

Created Department model

parent 7208b13e
...@@ -7,3 +7,8 @@ class WidgetUser(models.Model): ...@@ -7,3 +7,8 @@ class WidgetUser(models.Model):
last_name = models.CharField(max_length=50) last_name = models.CharField(max_length=50)
id_num = models.CharField(max_length=7) id_num = models.CharField(max_length=7)
email = models.EmailField() email = models.EmailField()
class Department(models.Model):
dept_name = models.CharField(max_length=100)
home_unit = models.CharField(max_length=100)
\ No newline at end of file
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