oacpl/main/models.py

8 lines
185 B
Python

from django.db import models
from django.contrib.auth.models import User
class ResetToken(models.Model):
token = models.CharField(max_length=8)
user = models.ForeignKey(User)