Added the ability to search by EVE API User ID

This commit is contained in:
2011-02-01 15:55:16 +00:00
parent 2bde07cca6
commit 9e839023e8
2 changed files with 5 additions and 5 deletions

View File

@@ -91,15 +91,12 @@ class ServiceAccountResetForm(forms.Form):
class UserLookupForm(forms.Form):
""" User Lookup Form """
choices = [(1, "Auth Username"),
(2, "Character"),
(4, "Email Address"), ]
def __init__(self, *args, **kwargs):
super(UserLookupForm, self).__init__(*args, **kwargs)
choices = [(1, "Auth Username"),
(2, "Character"),
(4, "Email Address"), ]
(4, "Email Address"),
(5, "EVE API User ID"), ]
if installed('reddit'):
choices.append((3, "Reddit ID"))