New webpage style.

This commit is contained in:
2010-03-09 23:47:21 +00:00
parent 0881634127
commit 1b74e8f272
7 changed files with 144 additions and 23 deletions

View File

@@ -7,7 +7,7 @@ from reddit.models import RedditAccount
class EveAPIForm(forms.Form):
user_id = forms.IntegerField(label = u'User ID')
api_key = forms.CharField(label = u'API Key', max_length=64)
description = forms.CharField(max_length=100)
description = forms.CharField(max_length=100, required=False)
def clean(self):
if not len(self.cleaned_data['api_key']) == 64: