Commit 080f4ecc authored by Vaughn Fajardo's avatar Vaughn Fajardo

fix: fixed wrong variable

parent 5d8908c0
...@@ -12,7 +12,7 @@ class WidgetUser(models.Model): ...@@ -12,7 +12,7 @@ class WidgetUser(models.Model):
class Department(models.Model): class Department(models.Model):
dept_name = models.CharField(max_length=50, null=True) dept_name = models.CharField(max_length=50, null=True)
home_unit = models.CharField(max_length=50, null=True) home_unit = models.CharField(max_length=50, null=True)
department = models.ForeignKey(WidgetUser, on_delete=models.CASCADE, null=True) widgetuser = models.ForeignKey(WidgetUser, on_delete=models.CASCADE, 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