Move project files to root directory

This commit is contained in:
PCoder 2019-02-17 17:43:06 +01:00
commit ace2fa6eb9
223 changed files with 7 additions and 7 deletions

15
dal/models.py Normal file
View file

@ -0,0 +1,15 @@
from django.db import models
# Basic DB to correlate tokens, users and creation time
class ResetToken(models.Model):
# users wouldn't use usernames >100 chars
user = models.CharField(max_length=100)
# Not so sure about tokens, better make it big
# should be <100, but big usernames make bigger tokens
# if I read that correctly
token = models.CharField(max_length=255)
# creation time in epoch (UTC)
# BigInt just so we are save for the next few decades ;)
creation = models.BigIntegerField()