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):
<br>
'''.format(
localdatetime.strftime("%m/%d/%Y, %I:%M %p"),
event.activity(),
event.estimated_hours(),
event.course.code(), event.course.title(), event.course.section(),
event.location.mode(),
event.location.venue()
event.activity,
event.estimated_hours,
event.course.code, event.course.title, event.course.section,
event.location.mode,
event.location.venue
)
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