Fixed a typo in views

parent 207e7450
......@@ -10,7 +10,7 @@ def index(request):
for i in range(1, count + 1):
assignments = Assignment.objects.get(id=i)
courses = Course.objects.get(id=i)
output += (f"Assignment Name: {assignments.mame}\n"
output += (f"Assignment Name: {assignments.name}\n"
f"Description: {assignments.description}\n"
f"Perfect Score: {assignments.perfect_score}\n"
f"Passing Score: {assignments.passing_score}\n"
......
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