Project vs App
PronunciationPROJ-ekt vee-ES AP
Definition
In Django, a project is the whole site and its settings, while an app is one self-contained feature inside it, such as payments or members, with its own models, views and tests.
Where you hear it
In Django tutorials (startproject, startapp), code reviews on how to split features, and project structure debates.
Examples
Create a new app for payments and add it to
INSTALLED_APPS.One project can hold many apps.
The shop project has three apps: catalog, cart and accounts.
Common mistake
Putting everything into one giant app, or making an app for every tiny model. Aim for one app per clear feature area.
Don't confuse with
A mobile or web app in everyday speech, meaning the whole product. In Django, an app is only a piece of the project.
Say it at work
- In a meeting or chat
Which app owns this model?
- In an email or ticket
Settings live in the project, not in any app.