#19412: Document that custom user models require a `user_permissions` M2M ---------------------------------+------------------------ Reporter: cdestigter | Owner: nobody Type: Bug | Status: new Component: Documentation | Version: 1.5-beta-1 Severity: Release blocker | Keywords: Triage Stage: Unreviewed | Has patch: 0 Easy pickings: 1 | UI/UX: 0 ---------------------------------+------------------------ It appears that `django.contrib.auth.backends.ModelBackend` requires that user models have a `user_permissions` `ManyToManyField`.
cf https://groups.google.com/d/msg/django- developers/K2cA2C3VeQw/6YoF1J9Sjx0J This requirement isn't documented AFAICT. It should probably be mentioned in the [https://docs.djangoproject.com/en/dev/topics/auth/#auth-custom- user Custom User Models] docs where the other User requirements are listed. Marking RB since this is an issue with a new feature -- Ticket URL: <https://code.djangoproject.com/ticket/19412> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.