Django - The included urlconf doesn't have any patterns in it

前端 未结 8 2065
情话喂你
情话喂你 2020-12-05 02:16

My website, which was working before, suddenly started breaking with the error

ImproperlyConfigured at / The included urlconf resume.urls doesn\'t h

相关标签:
8条回答
  • 2020-12-05 02:41

    Check your patterns for include statements that point to non-existent modules or modules that do not have a urlpatterns member. I see that you have an include('urls.ajax') which may not be correct. Should it be ajax.urls?

    0 讨论(0)
  • 2020-12-05 02:47

    IN my case I got this error during deployment. Apache kept giving me the "AH01630: client denied by server configuration" error. This indicated that was wrong with apache configuration. To help troubleshoot I had turned on Debug=True in settings.py when I saw this error.

    In the end I had to add a new directive to the static files configuration inside apache config. When the static files were not accessible and Debug in django settings was set to true this error was getting triggered somehow.

    0 讨论(0)
提交回复
热议问题