#23360: CircularDependencyError with AUTH_USER_MODEL set
-------------------------------+--------------------------------------
Reporter: brian | Owner: nobody
Type: Uncategorized | Status: closed
Component: Migrations | Version: 1.7-rc-3
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by andrewgodwin):
* status: new => closed
* resolution: => invalid
Comment:
Additionally, the fact that swappable models (e.g. custom user) cause
circular dependencies is also documented:
https://docs.djangoproject.com/en/dev/topics/auth/customizing/#substituting-a
-custom-user-model
This is unavoidable, I'm afraid; you just have to manually fix the problem
(it's the price you pay for swappable user functionality - uncertainty on
the part of the dependency calculator). Closing as INVALID for that reason
- I wish we could fix this, but I actually think it's technically
impossible in the general case.
--
Ticket URL: <https://code.djangoproject.com/ticket/23360#comment:10>
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.63dc959060e402653334c0a2dec57317%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.