简体   繁体   English

配置django项目的最佳方法是什么

[英]What is the best way to configure a django project

I am about to set up a project, and am wondering what the best way to do it is. 我即将建立一个项目,我想知道最好的方法是什么。 I notice some open source files have an "apps" directory, which stores all third-party apps, etc. 我注意到一些开源文件有一个“apps”目录,它存储所有第三方应用程序等。

I was looking at the following two projects 我正在看以下两个项目

https://github.com/josephmisiti/NewsBlur https://github.com/josephmisiti/NewsBlur

https://github.com/dkukral/everyblock https://github.com/dkukral/everyblock

My project will consist of code that will run multiple different (and connected) web applications. 我的项目将包含将运行多个不同(和连接)的Web应用程序的代码。

I also found this: 我也发现了这个:

https://github.com/lincolnloop/django-startproject/tree/master/django_startproject/project_template/myproject/ https://github.com/lincolnloop/django-startproject/tree/master/django_startproject/project_template/myproject/

Thanks, 谢谢,

I don't think there is an exact 'best way' which is suitable for every project. 我不认为有一个适合每个项目的确切“最佳方式”。 But there are some general rules that may help you setup your project. 但是有一些通用规则可以帮助您设置项目。 I won't send any link about this but there are several documents and webpages, so keep Googling. 我不会发送任何关于此的链接,但有几个文件和网页,所以保持谷歌搜索。 It's the best way to learn some extra tricks while digging pages for a purpose. 这是在为某个目的挖掘页面时学习一些额外技巧的最佳方法。

Also, try to understand projects that is similar to the one you want to develop. 此外,尝试了解与您要开发的项目类似的项目。 You say you've been already doing it, I think it is going to be the most helpful thing you do for your project. 你说你已经在做了,我认为这对你的项目来说是最有帮助的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM