fixed the format of object name in WidgetUser model

parent 15cf1554
...@@ -19,7 +19,7 @@ class WidgetUser(models.Model): ...@@ -19,7 +19,7 @@ class WidgetUser(models.Model):
def __str__(self): def __str__(self):
username = self.first_name + " " + self.middle_name + " " + self.last_name username = self.last_name + ", " + self.first_name + " " + self.middle_name
return username return username
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