Revision c9fdfa27 db/models.py
b/db/models.py | ||
---|---|---|
19 | 19 |
uniq = models.CharField('External Unique ID', max_length=255,null=True) |
20 | 20 |
credit = models.IntegerField('Credit Balance') |
21 | 21 |
auth_token = models.CharField('Authentication Token', max_length=32, null=True) |
22 |
auth_token_created = models.DateTimeField('Time of auth token creation', auto_now_add=True) |
|
22 |
auth_token_created = models.DateTimeField('Time of auth token creation', auto_now_add=True, null = True) |
|
23 |
auth_token_expires = models.DateTimeField('Time of auth token expiration', auto_now_add=True, null = True) |
|
23 | 24 |
type = models.CharField('Current Image State', choices=ACCOUNT_TYPE, max_length=30) |
24 | 25 |
created = models.DateTimeField('Time of creation', auto_now_add=True) |
25 | 26 |
updated = models.DateTimeField('Time of last update', auto_now=True) |
Also available in: Unified diff