Identifies error 211 and flags it diff

This commit is contained in:
2010-04-04 01:33:25 +01:00
parent 98adcf8f6c
commit c77d0c948e
2 changed files with 10 additions and 2 deletions

View File

@@ -6,12 +6,14 @@ API_STATUS_PENDING = 0
API_STATUS_OK = 1
API_STATUS_AUTH_ERROR = 2
API_STATUS_OTHER_ERROR = 3
API_STATUS_ACC_EXPIRED = 4
# 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'),
(API_STATUS_ACC_EXPIRED, 'Account Expired'),
)
API_GENDER_CHOICES = (