#12730: "cannot import name utils" in "django.db.backends.postgresql_psycopg2"
---------------------------------------------------+------------------------
Reporter: ramusus | Owner: nobody
Status: new | Milestone:
Component: Database layer (models, ORM) | Version: 1.1
Resolution: | Keywords:
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------------------------+------------------------
Comment (by kmtracey):
OK, James clued me in that deseb is this: http://code.google.com/p/deseb/
and indeed if I get that and follow its instructions to include `import
deseb` at the top of `settings.py` I can recreate the error.
deseb code monkeypatches `django.core.management.get_commands` so that's
why the odd jump into deseb `__init__.py` in the traceback.
I'm guessing what's happening is it's forcing an import of
`django.db.models` too early, leading to a circular import problem, but I
don't have any more time to look at this right now.
--
Ticket URL: <http://code.djangoproject.com/ticket/12730#comment:5>
Django <http://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.