[Django] #17044: Add "project layout and python path" page to documentation

7 views
Skip to first unread message

Django

unread,
Oct 13, 2011, 2:26:22 AM10/13/11
to django-...@googlegroups.com
#17044: Add "project layout and python path" page to documentation
-----------------------------------------+------------------------
Reporter: carljm | Owner: nobody
Type: New feature | Status: new
Component: Documentation | Version: SVN
Severity: Normal | Keywords:
Triage Stage: Accepted | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------
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].

--
Ticket URL: <https://code.djangoproject.com/ticket/17044>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jan 3, 2015, 5:10:34 AM1/3/15
to django-...@googlegroups.com
#17044: Add "project layout and python path" page to documentation
-------------------------------+------------------------------------

Reporter: carljm | Owner: nobody
Type: New feature | Status: new
Component: Documentation | Version: master
Severity: Normal | Resolution:

Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------

Comment (by iambibhas):

Looks like the proposed solution in that google groups thread has been
implemented in later versions. The default project structure now is -

{{{

mysite/
manage.py
mysite/
__init__.py
settings.py
urls.py
wsgi.py

}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/17044#comment:1>

Django

unread,
Feb 19, 2015, 2:51:12 PM2/19/15
to django-...@googlegroups.com
#17044: Add "project layout and python path" page to documentation
-------------------------------+------------------------------------
Reporter: carljm | Owner: nobody
Type: New feature | Status: closed
Component: Documentation | Version: master
Severity: Normal | Resolution: wontfix

Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------
Changes (by claudep):

* status: new => closed
* resolution: => wontfix


Comment:

Maybe obsolete. Reopen if you have a more concrete proposal.

--
Ticket URL: <https://code.djangoproject.com/ticket/17044#comment:2>

Reply all
Reply to author
Forward
0 new messages