susioma/smsauth/models.py

6 lines
No EOL
196 B
Python

from django.db import models
class Token(models.Model):
token = models.CharField(max_length=6)
sent = models.DateTimeField(auto_now_add=True)
used = models.BooleanField(default=False)