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:
aa4cb93
)
adding ModelForm for
author
Seth Woodworth
<seth@sethish.com>
Wed, 23 Jan 2013 08:52:11 +0000
(
03:52
-0500)
committer
Seth Woodworth
<seth@sethish.com>
Wed, 23 Jan 2013 08:52:11 +0000
(
03:52
-0500)
karmaworld/apps/notes/forms.py
[new file with mode: 0644]
patch
|
blob
diff --git a/karmaworld/apps/notes/forms.py
b/karmaworld/apps/notes/forms.py
new file mode 100644
(file)
index 0000000..
17ba990
--- /dev/null
+++ b/
karmaworld/apps/notes/forms.py
@@ -0,0
+1,12
@@
+#!/usr/bin/env python
+# -*- coding:utf8 -*-
+# Copyright (C) 2012 FinalsClub Foundation
+
+from django.forms import ModelForm
+
+from karmaworld.apps.notes.models import Note
+
+class NoteForm(ModelForm):
+ class Meta:
+ model = Note
+ fields = ('name', 'tags', 'desc',)