From 548ad715aa6c441f30ee0edb448da571d1af26c2 Mon Sep 17 00:00:00 2001 From: Hidden Z Date: Wed, 6 Oct 2010 19:02:08 +0000 Subject: [PATCH] postkey/views.py: add "description" field in "addkey" view --- web/postkey/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/postkey/views.py b/web/postkey/views.py index bcb3414..468f8fa 100644 --- a/web/postkey/views.py +++ b/web/postkey/views.py @@ -10,7 +10,7 @@ import re class AddForm(ModelForm): class Meta: model = i2phost - fields = ('name', 'b64hash') + fields = ('name', 'b64hash', 'description') def clean_name(self): data = self.cleaned_data['name'] # convert hostname to lowercase