Project rules
Django Rules
Project rules for Django: small focused apps, logic in models and services, efficient ORM queries, safe migrations and pytest-django tests.
CLAUDE.md
1Layout
2- One app per domain concept, each with `models.py`, `views.py`, `urls.py`, `tests/`. Add `services.py` for multi-step business logic.
3- Settings are split into base, local and production modules. Read secrets from the environment; never commit `SECRET_KEY`.
4Models and views
5- Put rules about one record on the model or its manager and queryset. Keep views thin: parse input, call a service, return a response.
pythondjango
#
Django Rules
Project rulespython
Free