Skip to content
Justice Tech School

Django Best Practices

Keep apps small, use fat models, thin views and tests.

Example
# thin views, logic in models or services
# one app per feature
# tests for every view
# never commit secrets

Exercise

Keep views.

Keep views 

Quiz Test

Where should heavy logic go?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.