-
Notifications
You must be signed in to change notification settings - Fork 291
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
Django 2.x - No module named 'django.core.urlresolvers' #327
Comments
It's the only change that must be done in order to get things working with Django 2.0, isn't it? |
No, you also have to change core/urlresolvers.py as well, after that it worked okay for me |
use from django.urls import reverse |
I also used from django.urls import reverse but still got error |
i also used django.urls but still getting error |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
File "/home/www.django/incoan/env/lib/python3.5/site-packages/djng/forms/fields.py", line 13, in
from django.core.urlresolvers import reverse_lazy
ImportError: No module named 'django.core.urlresolvers'
SOLUTION: Change "django.core.urlresolvers" to "django.urls"
The text was updated successfully, but these errors were encountered: