Answers for "Import "django.core.urlresolvers" could not be resolved"

1

Import "django.core.urlresolvers" could not be resolved

#Django 2.0 removes the django.core.urlresolvers module,
#which was moved to django.urls in version 1.10.
#You should change any import to use django.urls instead, like this:
from django.urls import reverse
Posted by: Guest on September-27-2021

Code answers related to "Import "django.core.urlresolvers" could not be resolved"

Python Answers by Framework

Browse Popular Code Answers by Language