From: Seth Woodworth Date: Thu, 24 Jan 2013 00:10:53 +0000 (-0500) Subject: removing additional context for adding NoteForm to course_detail template, not needed X-Git-Tag: release-20150131~546^2~11 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5369f47c3ed10caddf8bff36ea11dd889ff518f4;p=oweals%2Fkarmaworld.git removing additional context for adding NoteForm to course_detail template, not needed --- diff --git a/karmaworld/apps/courses/views.py b/karmaworld/apps/courses/views.py index 0774cf8..f8fab63 100644 --- a/karmaworld/apps/courses/views.py +++ b/karmaworld/apps/courses/views.py @@ -1,12 +1,14 @@ #!/usr/bin/env python # -*- coding:utf8 -*- # Copyright (C) 2012 FinalsClub Foundation + from django.views.generic import DetailView + from karmaworld.apps.courses.models import Course class CourseDetailView(DetailView): """ Class-based view for the course html page """ + model = Course # name passed to template context_object_name = u"course" - model = Course