Opened 2 years ago
Add "project layout and python path" page to documentation
|Reported by:||carljm||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
It would be good to have a page in the docs that explains in a bit more detail why the default "startproject" layout is the way it is, how the python path gets set correctly so that it works (e.g. by "script directory" if you use manage.py, "current directory" otherwise), what directory should be manually added to sys.path in environments where neither of those apply, where you put packages in the layout if you want them to be top-level and where you put them if they should be inside the project package, etc. Some of this information is in the 1.4 release notes, there's a bunch more discussed in [this mailing list thread http://groups.google.com/group/django-developers/browse_frm/thread/44b70a37ff73298b].