#26997: crash on empty model permissions
------------------------------+-------------------------
Reporter: hellpain | Owner: nobody
Type: Bug | Status: new
Component: contrib.auth | Version: 1.10
Severity: Normal | Keywords: permissions
Triage Stage: Unreviewed | Has patch: 1
Easy pickings: 1 | UI/UX: 0
------------------------------+-------------------------
While trying to port project to django 1.10 I found an error.
If Meta of model has default_permissions = () django crashes on runserver,
makemigrations and all other commands.
Test project can is located
https://github.com/hellpain/django_default_permissions_bug/blob/master/foo_app/models.py
This bug is caused to refactored checks in contrib.auth
--
Ticket URL: <https://code.djangoproject.com/ticket/26997>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/051.f6c521220921c7b9095d48349fc02c5e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.