To Solve ImportError: No module named 'django.core.urlresolvers' Error From Django 2.0 django.core.urlresolvers is replaced with django.urls So That You should change any import to use django.urls instead Just like This: from django.urls import reverse Now, Your error must be solved.