Where should i create django apps in django 1.4? -
i've started new project in django 1.4 , since they've changed default layout manage.py , whole folder hierarchy (see https://docs.djangoproject.com/en/dev/releases/1.4/#updated-default-project-layout-and-manage-py) cannot decide should put app packages - inside mysite or outside it? what's best practice? reason, startapp command creates app outside of mysite package, feels somehow wrong.
so, what's best? this:
manage.py mysite/ __init__.py settings.py urls.py myapp/ __init__.py models.py or this:
manage.py myapp/ __init__.py models.py mysite/ __init__.py settings.py urls.py ?
the second way.
manage.py myapp/ __init__.py models.py mysite/ __init__.py settings.py urls.py
Comments
Post a Comment