summaryrefslogtreecommitdiff
path: root/coip/apps/name/forms.py
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2010-07-05 21:37:04 +0200
committerLeif Johansson <leifj@sunet.se>2010-07-05 21:37:04 +0200
commit8f7f4ff3a35ddeacea7d5530c7dc3c296907ab67 (patch)
tree7d481dc7030ad191314aa2569cca9f8301e1f997 /coip/apps/name/forms.py
import
Diffstat (limited to 'coip/apps/name/forms.py')
-rw-r--r--coip/apps/name/forms.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/coip/apps/name/forms.py b/coip/apps/name/forms.py
new file mode 100644
index 0000000..0c96480
--- /dev/null
+++ b/coip/apps/name/forms.py
@@ -0,0 +1,15 @@
+'''
+Created on Jun 24, 2010
+
+@author: leifj
+'''
+from django import forms
+from coip.apps.name.models import Name, Attribute
+
+class NameForm(forms.ModelForm):
+ class Meta:
+ model = Name
+
+class AttributeForm(forms.ModelForm):
+ class Meta:
+ model = Attribute \ No newline at end of file