开发者

How to run django app without settings.py

I am new to django and looking into already created django sites with source code and wants to see on how it runs. After downloading one of them, I realised there is no settings.py in the folder itself. Having already created simple sites with mod_wsgi and apache, I am not sure how to run this particular site with a template system. Seems there are websites on how to run customised settings, but I am not sure on how to go about running the site. Appreciate any tips on how to go about running the downloaded django site with source codes.

Is it also possible and if it is correct, to create a settings.py file for this kind of sites? Thank开发者_如何学Gos

Link to download django site


Django apps are not intended to be runnable; they must be integrated into a Django project in order to be used. See the Django tutorial for more details.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜