mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 14:52:15 +00:00
Initial import
This commit is contained in:
15
eve_api/app_defines.py
Normal file
15
eve_api/app_defines.py
Normal file
@@ -0,0 +1,15 @@
|
||||
"""
|
||||
Standard definitions that don't change.
|
||||
"""
|
||||
# API status definitions for EVEAccount.
|
||||
API_STATUS_PENDING = 0
|
||||
API_STATUS_OK = 1
|
||||
API_STATUS_AUTH_ERROR = 2
|
||||
API_STATUS_OTHER_ERROR = 3
|
||||
# This tuple is used to assemble the choices list for the field.
|
||||
API_STATUS_CHOICES = (
|
||||
(API_STATUS_PENDING, 'Unknown'),
|
||||
(API_STATUS_OK, 'OK'),
|
||||
(API_STATUS_AUTH_ERROR, 'Auth Error'),
|
||||
(API_STATUS_OTHER_ERROR, 'Other Error'),
|
||||
)
|
||||
Reference in New Issue
Block a user