Removed references to blue alliance standings, replaced with blue corp standings.

This commit is contained in:
Adarnof
2015-09-18 03:53:37 +00:00
parent db0a4c235a
commit c227695160
2 changed files with 4 additions and 4 deletions

View File

@@ -7,7 +7,7 @@ from eveonline.managers import EveManager
class UpdateKeyForm(forms.Form):
api_id = forms.CharField(max_length=254, required=True, label="Key ID")
api_key = forms.CharField(max_length=254, required=True, label="Verification Code")
is_blue = forms.BooleanField(label="Blue to alliance", required=False)
is_blue = forms.BooleanField(label="Blue to corp", required=False)
def clean(self):
if EveManager.check_if_api_key_pair_exist(self.cleaned_data['api_id']):
@@ -28,4 +28,4 @@ class UpdateKeyForm(forms.Form):
self.cleaned_data['api_key']):
raise forms.ValidationError(u'API supplied is not a full api key')
return self.cleaned_data
return self.cleaned_data