Cleaned Code

parent 00cbe1f9
......@@ -16,4 +16,4 @@ class WidgetUser(models.Model):
department = models.ForeignKey(Department, null=True, on_delete=models.CASCADE)
def __str__(self):
return '{}, {} {} : {}'.format(self.last_name, self.first_name, self.middle_name, self.department)
\ No newline at end of file
return '{} {}'.format(self.first_name, self.last_name)
\ No newline at end of file
......@@ -3,7 +3,7 @@ from django.urls import path
from .views import index
urlpatterns = [
path('',index, name = 'index'),
path('',index, name = 'dashboard_view'),
]
dashboard = "Dashboard"
\ No newline at end of file
app_name = "Dashboard"
\ 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