Commit b6ec031e authored by John Tamano's avatar John Tamano

removed commented out code

parent e6b25bc9
...@@ -27,21 +27,4 @@ def displayUserDetails(request, user_id): ...@@ -27,21 +27,4 @@ def displayUserDetails(request, user_id):
} }
return render(request, "users/details.html", context) return render(request, "users/details.html", context)
'''
def displayWidgetUsers(request):
WidgetUsers = models.WidgetUser.objects.all()
WidgetUserInfo = ""
for i in WidgetUsers:
last_name = i.last_name
middle_name = i.middle_name
first_name = i.first_name
id_number = i.id_num
email = i.email
dept = str(i.department)
home_unit = i.department.home_unit
temp = last_name + ", " + first_name + " " + middle_name + ": " + id_number + ", " + email + ", " + dept + ", " + home_unit
WidgetUserInfo += "<br>" + temp
return HttpResponse("WIDGET USERS:\n" + WidgetUserInfo)
'''
# Create your views here. # Create your views here.
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