3 # Copyright (C) 2012 FinalsClub Foundation
5 from django.views.generic import DetailView
6 from karmaworld.apps.notes.models import Note
8 class NoteDetailView(DetailView):
9 """ Class-based view for the note html page """
10 # name passed to template
11 context_object_name = u"note"
14 class RawNoteDetailView(DetailView):
15 """ Class-based view for the raw note html for iframes """
16 template_name = u'notes/note_raw.html'
17 context_object_name = u"note"