Possible Duplicate:
Where should i create django apps in django 1.4?
In Django version 1.4
, the structure has changed, the manage.py
get out to the top level.
Use the tutorial in the django webiste, the project's name is mysite, the structure is like this:
mysite/
manage.py
mysite/
__init__.py
settings.py
urls.py
wsgi.py
and I want to create a app. In the tutorial, It place the app right next to the manage.py, so the app is on the top level too, just like this:
mysite/
manage.py
mysite/
__init__.py
settings.py
urls.py
wsgi.py
polls/
__init__.py
models.py
tests.py
views.py
so:
what is the different if I create the app in the secend level(as right next to the settings.py) ?
if I create the app on the top level, and there is some static file, the
mysite
and thepolls
all should to use, so where to place thestatic/
directory ?