django/tests/auth_tests/models/minimal.py

7 lines
115 B
Python

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