mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 23:02:19 +00:00
Now pulls in more information from the character API.
This commit is contained in:
@@ -12,4 +12,39 @@ API_STATUS_CHOICES = (
|
||||
(API_STATUS_OK, 'OK'),
|
||||
(API_STATUS_AUTH_ERROR, 'Auth Error'),
|
||||
(API_STATUS_OTHER_ERROR, 'Other Error'),
|
||||
)
|
||||
)
|
||||
|
||||
API_GENDER_CHOICES = (
|
||||
(1, 'Male'),
|
||||
(2, 'Female'),
|
||||
)
|
||||
|
||||
API_RACES_CHOICES = (
|
||||
(1, 'Sebiestor'),
|
||||
(2, 'Vherokior'),
|
||||
(3, 'Brutor'),
|
||||
(4, 'Intaki'),
|
||||
(5, 'Gallente'),
|
||||
(6, 'Jin-Mei'),
|
||||
(7, 'Civire'),
|
||||
(8, 'Deteis'),
|
||||
(9, 'Achura'),
|
||||
(10, 'Amarr'),
|
||||
(11, 'Khanid'),
|
||||
(12, 'Ni-Kunni'),
|
||||
)
|
||||
|
||||
API_RACES = {
|
||||
'Sebiestor': 1,
|
||||
'Vherokior': 2,
|
||||
'Brutor': 3,
|
||||
'Intaki': 4,
|
||||
'Gallente': 5,
|
||||
'Jin-Mei': 6,
|
||||
'Civire': 7,
|
||||
'Deteis': 8,
|
||||
'Achura': 9,
|
||||
'Amarr': 10,
|
||||
'Khanid': 11,
|
||||
'Ni-Kunni': 12,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user