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

base.py uses wrong import for huey #29

Open
radumalica opened this issue Jul 13, 2016 · 0 comments
Open

base.py uses wrong import for huey #29

radumalica opened this issue Jul 13, 2016 · 0 comments

Comments

@radumalica
Copy link

hopper@wh:~/hopperpw$ python manage.py migrate
Traceback (most recent call last):
File "manage.py", line 11, in
execute_from_command_line(sys.argv)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 385, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 354, in execute
django.setup()
File "/usr/local/lib/python2.7/dist-packages/django/init.py", line 21, in setup
apps.populate(settings.INSTALLED_APPS)
File "/usr/local/lib/python2.7/dist-packages/django/apps/registry.py", line 85, in populate
app_config = AppConfig.create(entry)
File "/usr/local/lib/python2.7/dist-packages/django/apps/config.py", line 123, in create
import_module(entry)
File "/usr/lib/python2.7/importlib/init.py", line 37, in import_module
import(name)
ImportError: No module named djhuey

You have to specify as per djhuey documentation 'huey.contrib.djhuey' not 'huey.djhuey' . with this modification it works on Ubuntu 15.04 and python 2.7.9. Here it needs to be modified: hopperpw/settings/base.py: 'huey.djhuey',

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