~/talk

Manage.py as the task runner

Talkat Django Day Copenhagen 2024 · on Friday, 2024-10-04· [django, developer-experience]
links:none on file
slides:none on file

Proposes using Django’s manage.py as the universal task runner, with simple commands like start/test/deploy that replace long README setup steps; shows how to add a new command in ~4 lines, how Django finds commands via installed_apps, and how to extend runserver by overriding run to launch a background Tailwind watch with subprocess (stdout/stderr piped) so CSS rebuilds alongside the dev server. Describes calling async libraries, using Python packages (pandas, python-onepassword), and a GitHub Action invoking manage_certificates to auto-rotate TLS certs in production.

AI-written summary · about

  1. 0:00Introduction and welcome
  2. 1:52Why manage.py for task running
  3. 8:53How manage.py commands work
  4. 11:43Creating new commands
  5. 15:18Extending existing commands
  6. 19:59Integrating Tailwind with runserver
  7. 23:11Advanced use cases and power
  8. 27:19Real-world example with certificates
  9. 28:48Q&A session
~/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.