#16511: Problem with import and GFK
-------------------------------------+-------------------------------------
Reporter: rjdg@… | Owner: nobody
Type: Bug | Status: closed
Milestone: | Component:
Version: 1.3 | contrib.contenttypes
Resolution: invalid | Severity: Normal
Triage Stage: | Keywords:
Unreviewed | import,genericforeignkey,genericrelation
Needs documentation: 0 | Has patch: 0
Patch needs improvement: 0 | Needs tests: 0
UI/UX: 0 | Easy pickings: 0
-------------------------------------+-------------------------------------
Changes (by kmtracey):
* status: new => closed
* needs_docs: => 0
* resolution: => invalid
* needs_tests: => 0
* needs_better_patch: => 0
Comment:
This is not a bug in Django, it's a straightforward circular import issue
(and the message is from Python, not from Django). Django provides a way
to do what's needed to avoid the circular import when you have
interdependent models in different files (see
https://docs.djangoproject.com/en/1.3/ref/models/fields/#django.db.models.ForeignKey).
Also, please post to django-users or try the #django IRC channel before
assuming something you don't understand is a bug in Django; this tracker
is not a support forum.
--
Ticket URL: <https://code.djangoproject.com/ticket/16511#comment:1>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.