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:
c73c467
)
add TODO comment for NoteForm in view handling of invalid forms
author
Seth Woodworth
<seth@sethish.com>
Thu, 21 Mar 2013 16:44:46 +0000
(12:44 -0400)
committer
Seth Woodworth
<seth@sethish.com>
Thu, 21 Mar 2013 16:44:46 +0000
(12:44 -0400)
karmaworld/apps/notes/views.py
patch
|
blob
|
history
diff --git
a/karmaworld/apps/notes/views.py
b/karmaworld/apps/notes/views.py
index 87933a4612b8930c9a433eacc4b4e17c8bb5161f..50c301a9003a3bf0a71c66da72c1ae226054bc86 100644
(file)
--- a/
karmaworld/apps/notes/views.py
+++ b/
karmaworld/apps/notes/views.py
@@
-24,6
+24,7
@@
class NoteSaveView(FormView, SingleObjectMixin):
behaves the same as NoteDetailView, except for saving the
NoteForm ModelForm
"""
+ # TODO: implement def form_invalid for returning a form with input and error
form_class = NoteForm
model = Note
template_name = 'notes/note_detail.html'