Fixed model relations in views

parent 61d22e36
...@@ -15,7 +15,7 @@ def index(request): ...@@ -15,7 +15,7 @@ def index(request):
Description: {assignments.description}<br> Description: {assignments.description}<br>
Perfect Score: {assignments.perfect_score}<br> Perfect Score: {assignments.perfect_score}<br>
Passing Score: {assignments.passing_score}<br> Passing Score: {assignments.passing_score}<br>
Course/Section: {assignments.course.code} {assignments.course.title}-{cassignments.course.section}<br> Course/Section: {assignments.course.code} {assignments.course.title}-{assignments.course.section}<br>
<br>""" <br>"""
return HttpResponse(output) return HttpResponse(output)
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