Looking at django.contrib.auth.models I see ...

class User(AbstractUser):

    """

    Users within the Django authentication system are represented by this

    model.

    Username and password are required. Other fields are optional.

    """

    class Meta(AbstractUser.Meta):

        swappable = 'AUTH_USER_MODEL'


... and I wonder if my custom user model should have an identical Meta attibute?

Thanks

Mike

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/5a6ad041-4e01-bc5f-619c-f01719d94422%40dewhirst.com.au.

Reply via email to