django/tests/auth_tests/models/minimal.py

7 lines
115 B
Python
Raw Normal View History

from django.db import models
class MinimalUser(models.Model):
REQUIRED_FIELDS = ()
USERNAME_FIELD = 'id'