Update dashboard view

parent 2e12317f
......@@ -8,7 +8,7 @@ def index (request):
return_string = '<p>Welcome to Widget!</p> WIDGET USERS:<ul>'
for user in WidgetUser.objects.all():
for department in Department.objects.all():
return_string += '<li>{}, {} {}: {}, {}</li>'.format(
return_string += '{}, {} {}: {}, {}<br>'.format(
user.last_name, user.first_name, user.middle_name, department.dept_name, department.home_unit
)
return_string += '</ul>'
......
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