#35545: Fix create_permissions LookupErrors
----------------------------------+------------------------------------
     Reporter:  Csirmaz Bendegúz  |                    Owner:  nobody
         Type:  Bug               |                   Status:  new
    Component:  contrib.auth      |                  Version:  5.1
     Severity:  Release blocker   |               Resolution:
     Keywords:                    |             Triage Stage:  Accepted
    Has patch:  0                 |      Needs documentation:  0
  Needs tests:  0                 |  Patch needs improvement:  0
Easy pickings:  0                 |                    UI/UX:  0
----------------------------------+------------------------------------
Comment (by Sarah Boyce):

 Details for people investigating:
 - `django.contrib.auth`, `django.contrib.contenttypes` and a third app
 (`app1`) needs to be installed
 - `migrate` (important)
 - create a new model in `app1`
 - `makemigrations` and `migrate`

 If you were to delete the SQLite db and apply the migrations, it would run
 fine which makes me think we have a caching issue in
 `ContentTypeManager.get_for_models()` (#31357, #32833)
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35545#comment:4>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107019039abba88-60823793-f2ae-45dc-828e-42ab18699919-000000%40eu-central-1.amazonses.com.

Reply via email to