8 lines
214 B
Python
8 lines
214 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, on_delete=models.DO_NOTHING)
|