Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot import name LOOKUP_SEP Django 1.5 #2

Open
nkeilar opened this issue May 9, 2013 · 1 comment
Open

cannot import name LOOKUP_SEP Django 1.5 #2

nkeilar opened this issue May 9, 2013 · 1 comment

Comments

@nkeilar
Copy link

nkeilar commented May 9, 2013

Using django-groups==0.1.dev11

Unhandled exception in thread started by <bound method Command.inner_run of <django.contrib.staticfiles.management.commands.runserver.Command object at 0x9e2a38c>>
Traceback (most recent call last):
  File "/home/madteckhead/.virtualenvs/fresh-start/local/lib/python2.7/site-packages/django/core/management/commands/runserver.py", line 92, in inner_run
    self.validate(display_num_errors=True)
  File "/home/madteckhead/.virtualenvs/fresh-start/local/lib/python2.7/site-packages/django/core/management/base.py", line 280, in validate
    num_errors = get_validation_errors(s, app)
  File "/home/madteckhead/.virtualenvs/fresh-start/local/lib/python2.7/site-packages/django/core/management/validation.py", line 35, in get_validation_errors
    for (app_name, error) in get_app_errors().items():
  File "/home/madteckhead/.virtualenvs/fresh-start/local/lib/python2.7/site-packages/django/db/models/loading.py", line 166, in get_app_errors
    self._populate()
  File "/home/madteckhead/.virtualenvs/fresh-start/local/lib/python2.7/site-packages/django/db/models/loading.py", line 75, in _populate
    self.load_app(app_name)
  File "/home/madteckhead/.virtualenvs/fresh-start/local/lib/python2.7/site-packages/django/db/models/loading.py", line 96, in load_app
    models = import_module('.models', app_name)
  File "/home/madteckhead/.virtualenvs/fresh-start/local/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/home/madteckhead/workspace/noshlyfs/apps/basic_groups/models.py", line 7, in <module>
    from groups.base import Group
  File "/home/madteckhead/.virtualenvs/fresh-start/local/lib/python2.7/site-packages/groups/base.py", line 7, in <module>
    from django.db.models.sql.constants import LOOKUP_SEP
ImportError: cannot import name LOOKUP_SEP

@nkeilar
Copy link
Author

nkeilar commented May 9, 2013

-from django.db.models.sql.constants import LOOKUP_SEP
+from django.db.models.constants import LOOKUP_SEP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant