Add lookup by email address

This commit is contained in:
2010-07-08 09:46:23 +01:00
parent 93c86404d0
commit 3dea1a8d24
2 changed files with 4 additions and 1 deletions

View File

@@ -92,7 +92,8 @@ class UserLookupForm(forms.Form):
choices = [ (1, "Auth Username"),
(2, "Character"),
(3, "Reddit ID") ]
(3, "Reddit ID"),
(4, "Email Address"), ]
type = forms.ChoiceField(label = u'Search type', choices = choices)
username = forms.CharField(label = u'User ID', max_length=64)