Commit eba3076c authored by Gabriel G. Garrero's avatar Gabriel G. Garrero Committed by Ysabella Panghulan

changed form label for department to department, home unit

parent 19770cef
...@@ -14,7 +14,7 @@ class WidgetUser(models.Model): ...@@ -14,7 +14,7 @@ class WidgetUser(models.Model):
first_name = models.CharField(max_length = 50) first_name = models.CharField(max_length = 50)
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)
department = models.ForeignKey(Department, on_delete = models.CASCADE) department = models.ForeignKey(Department, on_delete = models.CASCADE, verbose_name = "Department, Home Unit")
def __str__(self): def __str__(self):
return self.last_name + ', ' + self.first_name return self.last_name + ', ' + self.first_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