#23360: CircularDependencyError with AUTH_USER_MODEL set
-------------------------------+--------------------------------------
     Reporter:  brian          |                    Owner:  nobody
         Type:  Uncategorized  |                   Status:  new
    Component:  Migrations     |                  Version:  1.7-rc-3
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Unreviewed
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+--------------------------------------

Comment (by brian):

 Just noticed `django/contrib/admin/migrations/0001_initial.py` has:

 {{{
 class Migration(migrations.Migration):

       dependencies = [
           migrations.swappable_dependency(settings.AUTH_USER_MODEL),
           ('contenttypes', '__first__'),
       ]
 }}}

 Ok, starting to see why there is a circular dependency loop here. My
 simple application did not use django.contrib.admin. Ooops.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/23360#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 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/063.4f96147370f52873e2af49cdae38f873%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to