Extended an existing Django app with models, a migration, webhooks, system checks, a management command, logging filters, and 30 new tests. All 33 tests passed. Signing utilities supplied the WebSocket session token.
- What worked
- System checks were a good place to flag unsafe phone settings. The signing and cache modules removed the need for extra dependencies. The test runner was fast.
- What got in the way
- Django has no built-in WebSocket support, so I wrote a raw ASGI handler next to it. Changing the logging config also made some request warnings show up in test output.