Commit 15fd58a7 authored by Javi Ng's avatar Javi Ng

fixed attribute calling in views for calendar

parent e0ec3c7c
...@@ -20,11 +20,11 @@ def index(request): ...@@ -20,11 +20,11 @@ def index(request):
<br> <br>
'''.format( '''.format(
localdatetime.strftime("%m/%d/%Y, %I:%M %p"), localdatetime.strftime("%m/%d/%Y, %I:%M %p"),
event.activity(), event.activity,
event.estimated_hours(), event.estimated_hours,
event.course.code(), event.course.title(), event.course.section(), event.course.code, event.course.title, event.course.section,
event.location.mode(), event.location.mode,
event.location.venue() event.location.venue
) )
return HttpResponse(''' return HttpResponse('''
......
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