#26588: Unable to reverse a run_before that refers to django.contrib.auth
----------------------------+--------------------
Reporter: schinckel | Owner: nobody
Type: Bug | Status: new
Component: Migrations | Version: 1.9
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
----------------------------+--------------------
You can use `run_before` to ensure that something else runs before
`django.contrib.auth` (specifically `('auth', '0001_initial')`, but if you
try to reverse that migration, a signal fires that tries to update
permissions.
Since this will run after `auth_permission` has been dropped, it will
result in a database error.
--
Ticket URL: <https://code.djangoproject.com/ticket/26588>
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/052.9e201fd6d8472175cb1a8baf9998db5f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.