☰
Debian Codegraph
@
3.18.1+ds1-1
3.17.1+ds1-1
/
/
tests
/
authentication
/
models.py
☽
☼
tests/authentication/models.py
code
plain
raw
BSD-2-Clause
2011-2017, Tom Christie
debian/copyright
1
from django.conf import settings
2
from django.db import models
3
4
5
class CustomToken(models.Model):
6
key = models.CharField(max_length=40, primary_key=True)
7
user = models.OneToOneField(settings.AUTH_USER_MODEL, on_delete=models.CASCADE)