projects
/
oweals
/
karmaworld.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be87ad4
)
removing additional context for adding NoteForm to course_detail template, not needed
author
Seth Woodworth
<seth@sethish.com>
Thu, 24 Jan 2013 00:10:53 +0000
(19:10 -0500)
committer
Seth Woodworth
<seth@sethish.com>
Thu, 24 Jan 2013 00:10:53 +0000
(19:10 -0500)
karmaworld/apps/courses/views.py
patch
|
blob
|
history
diff --git
a/karmaworld/apps/courses/views.py
b/karmaworld/apps/courses/views.py
index 0774cf86dd370ef5fb0b207894bdf80082eb716d..f8fab63090350c58b2350a13ccfb5c114da1d5ea 100644
(file)
--- 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