~/talk

Scaling Django to 500 apps

Talkat DjangoCon US 2021 · 2021-10-22..10-23· [django, frontend-architecture]
slides:none on file

Claims managing ~500 Django apps and ~400k lines of Python by treating each feature as a small app, exposing a public API via api.py public API, enforcing file roles (models.py, views.py, urls.py), and using tooling like auto-discovery of reports, custom test runner to exclude uninstalled apps, and a custom url include that checks INSTALLED_APPS. The white‑labeling approach of swapping INSTALLED_APPS works in practice after building those utilities; nested app naming and import ripples remain pain points.

AI-written summary · about

  1. 0:00Scaling Django apps
  2. 1:00Why Django apps matter
  3. 3:49Microservices vs Django trade-offs
  4. 5:12Django apps structure
  5. 7:17Patterns for new apps
  6. 9:22Nested app organization
  7. 11:30Consistent app structure
  8. 13:16Templates and namespacing
  9. 14:20Managing app imports
  10. 16:05App dependency guidelines
  11. 17:53App configs and utilities
  12. 19:18App configs for metadata
  13. 20:01Auto-discovery for reports
  14. 21:04White-labeling with toggles
  15. 22:26Optional app handling
  16. 23:08Alternatives for scaling
  17. 24:53Future Django improvements
  18. 27:18Conclusion and takeaways
  19. 28:20Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.