From 342cb7d1edb536378f462d6a7757c2f9ccdfe1ea Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Fri, 9 Jul 2010 00:14:16 +0200 Subject: basic edit view for nodes --- coip/apps/name/forms.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'coip/apps/name/forms.py') diff --git a/coip/apps/name/forms.py b/coip/apps/name/forms.py index 0c96480..62c6fb5 100644 --- a/coip/apps/name/forms.py +++ b/coip/apps/name/forms.py @@ -12,4 +12,9 @@ class NameForm(forms.ModelForm): class AttributeForm(forms.ModelForm): class Meta: - model = Attribute \ No newline at end of file + model = Attribute + +class NameEditForm(forms.ModelForm): + class Meta: + model = Name + fields = ['short','description'] \ No newline at end of file -- cgit v1.1