Now stores API key type and cron jobs now identify which key to use instead of being static defined

This commit is contained in:
2010-09-10 09:20:45 +01:00
parent e712a203a6
commit 6b485e6a50
6 changed files with 181 additions and 9 deletions

View File

@@ -16,6 +16,16 @@ API_STATUS_CHOICES = (
(API_STATUS_ACC_EXPIRED, 'Account Expired'),
)
API_KEYTYPE_UNKNOWN = 0
API_KEYTYPE_LIMITED = 1
API_KEYTYPE_FULL = 2
API_KEYTYPE_CHOICES = (
(API_KEYTYPE_UNKNOWN, 'Unknown'),
(API_KEYTYPE_LIMITED, 'Limited'),
(API_KEYTYPE_FULL, 'Full'),
)
API_GENDER_CHOICES = (
(1, 'Male'),
(2, 'Female'),