cleaning up shebang, copyright and file encoding for virtualenv
[oweals/karmaworld.git] / karmaworld / apps / courses / views.py
1 #!/usr/bin/env python
2 # -*- coding:utf8 -*-
3 # Copyright (C) 2012  FinalsClub Foundation
4 from django.views.generic import DetailView
5 from karmaworld.apps.courses.models import Course
6
7 class CourseDetailView(DetailView):
8     """ Class-based view for the course html page """
9
10     # name passed to template
11     context_object_name = u"course"
12     model = Course