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

ModuleNotFoundError: No module named 'django.core.urlresolvers' #2

Open
peterdoherty01 opened this issue Dec 5, 2018 · 1 comment

Comments

@peterdoherty01
Copy link

peterdoherty01 commented Dec 5, 2018

I followed the install instructions.

When I runserver I get an error: ModuleNotFoundError: No module named 'django.core.urlresolvers'

File "C:\Users\xxxx\Documents\GitHub\website\env\lib\site-packages\zinnia_markitup\admin.py", line 5, in <module>
    from django.core.urlresolvers import reverse
ModuleNotFoundError: No module named 'django.core.urlresolvers'

I tried migrations but no luck. I installed the package using pip.

Doing some searching around indicates that Django handles urls differently in Django 2.0 which is what I'm using. https://stackoverflow.com/a/43139407/7358621

Thanks

@peterdoherty01
Copy link
Author

Could a fix be released via pip so that I could use this on Heroku please?

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