Python manage.py migrate

inurl_patterns raise ImproperlyConfigured(msg=self.urlconf_name) … If you see the ‘urlpatterns’ variable with the valid patterns in the file then the issue is probaly caused by a circular import.

1 Like