Revision faa26af8 db/models.py

b/db/models.py
18 18
    uniq = models.CharField('External Unique ID', max_length=255)
19 19
    credit = models.IntegerField('Credit Balance')
20 20
    auth_token = models.CharField('Authentication Token', max_length=32, null=True)
21
    auth_token_created = models.DateTimeField('Time of auth token creation', null=True)
21
    auth_token_created = models.DateTimeField('Time of auth token creation', auto_now_add=True)
22 22
    type = models.CharField('Current Image State', choices=ACCOUNT_TYPE, max_length=30)
23 23
    created = models.DateTimeField('Time of creation', auto_now_add=True)
24 24
    updated = models.DateTimeField('Time of last update', auto_now=True)

Also available in: Unified diff