Browse Source

postkey/views.py: add "description" field in "addkey" view

pull/1/head
Hidden Z 14 years ago
parent
commit
548ad715aa
  1. 2
      web/postkey/views.py

2
web/postkey/views.py

@ -10,7 +10,7 @@ import re @@ -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

Loading…
Cancel
Save