3 ms·
your django app doesn't look like a django app. the basic premise of the django defaults is that app modules are pluggable and self-contained. all of the stati
by metaphorm 14y ago
your django app doesn't look like a django app.
the basic premise of the django defaults is that app modules are pluggable and self-contained. all of the static assets, templates, model code, view code, migration files, management commands, etc. related to a particular app should go in that app's folder (which is treated as a Python module with its own __init__.py file). conventionally the app's folder is a first child descendant of the top level project directory (i.e. its in the same directory as manage.py)
- taylorfausak 14y agoThat's true about Django apps, but this post doesn't describe a Django app. It describes a Django project.