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)