ImproperlyConfigured: The included urlconf .urls doesn't have any patterns in it

后端 未结 5 1585
北恋
北恋 2020-12-02 12:36

I have a django (1.6.x) project that runs fine with the dev server, but is failing under Apache2 (2.2.22.1) and mod_wsgi (3.3-4) on Ubuntu 12.04.3 with the error

Imp

5条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-02 13:19

    Also make sure you have urlpatterns in the file you are including and that it is spelt correctly

提交回复
热议问题