Improving One of Django's Most Used APIs — Not the One You're Thinking Of
summary
Claim: runserver miscommunicates to beginners and Django lacks a clear production-run API. Proposal: add a managed production command surface via django-prodserver so manage.py can launch Gunicorn/Waitress backends with project-scoped process definitions. Demo uses a Procfile + honcho + Gunicorn, shows one-line backend swaps and optional sane defaults, but a live demo hits a NoneType error so it’s not fully polished. Plan: land prodserver as an experimental API and iterate with community feedback and GSoC mentorship.
AI-written summary · about
chapters (18)
- 0:00Introduction and speaker intro
- 1:09Why Django’s APIs matter
- 2:38The most used Django API
- 4:02Can we improve runserver?
- 6:12Production deployment gap
- 8:24Why Django shouldn’t include a server
- 9:05Introducing Proder
- 10:09Live demo of Proder
- 14:33Changing server backends
- 15:36Next steps for Proder
- 16:39Who owns Django’s deployment API?
- 18:04Experimental APIs in Django
- 19:28Summary and call to action
- 20:37Q&A: Simple Deploy overlap
- 22:03Q&A: Management command conflicts
- 23:50Q&A: Deployment namespace
- 24:15Q&A: Calculating workers
- 25:19Q&A: Target audience
