Python 3 - Django 2.x: ImportError: No module named 'django.core.urlresolvers' is a common error we get when we migrate from python 2.x to python 3.x and use latest Django > 2.0. the common error message looks like
line 2, in from django.core.urlresolvers import reverse ImportError: No module named 'django.core.urlresolvers'
Django 2.0 removes the
django.core.urlresolvers module, which was moved to
django.urlsin version 1.10. You should change any import to use
django.urls instead, like this:
from django.urls import reverse