Small bits of documentation for the Reddit app

This commit is contained in:
2010-08-07 12:32:58 +01:00
parent 72fc1c9635
commit 9718800002
2 changed files with 4 additions and 0 deletions

View File

@@ -4,6 +4,8 @@ from django.contrib.auth.models import User
from reddit.models import RedditAccount
class RedditAccountForm(forms.ModelForm):
""" Basic Reddit account input form """
user = forms.ModelChoiceField(queryset=User.objects.order_by('username'))
username = forms.CharField(label = u'Reddit Username', max_length=64)