5👍
✅
I’ve seen a few opinions on this:
- http://jacobian.org/writing/django-apps-with-buildout/
- http://github.com/garethr/django-project-templates
- http://www.stereoplex.com/2008/dec/2/fez-djangoskel-django-projects-and-apps-as-eggs/
If you’re new to web development though, you might want to consider just using the folder structure django-admin
and manage.py
give you (as Ben suggests). That will let you learn how to write a web app, and you can move the files around later as you need.
14👍
I think the folder structure and other best practices are covered by Lincoln Loop’s Django Best Practices document.
They even have a project on github to auto generate the layout in their recommended structure.
I think it is very similar and in line with the Pinax recommendations; but you might want to verify this part.
- Raw_id_fields for modelforms
- Libmysqlclient.18.dylib image not found when using MySQL from Django on OS X
- Removing the Label From Django's TextArea Widget
Source:stackexchange.com