Merge pull request #29 from LucianU/master
[oweals/karmaworld.git] / karmaworld / apps / notes / views.py
1 #!/usr/bin/env python
2 # -*- coding:utf8 -*-
3 # Copyright (C) 2012  FinalsClub Foundation
4
5 from django.views.generic import DetailView
6 from karmaworld.apps.notes.models import Note
7
8 class NoteDetailView(DetailView):
9     """ Class-based view for the note html page """
10
11     # name passed to template
12     context_object_name = u"note"
13     model = Note