Erroneous imports in admin/options module #8

ghost opened this Issue Nov 5, 2012 · 3 comments


None yet

2 participants

ghost commented Nov 5, 2012

I found out that when trying to activate your admin 'module' in my / INSTALLED_APPS, starting the embedded server will fail.

It turned out that one of the import statements referenced the wrong module for importing the LOOKUP_SEP constant.


from django.db.models.sql.constants import LOOKUP_SEP, QUERY_TERMS


from django.db.models.constants import LOOKUP_SEP
from django.db.models.sql.constants import QUERY_TERMS

made it actually compile and load so far.

rozza commented Nov 6, 2012

What version of django are you running?

ghost commented Mar 20, 2013

sorry for the late reply, but it is 1.5+


It works in latest version of Django. Closing issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment