DJP 0.3 adds another plugin hook: asgi_wrapper(), which gives plugins a chance to wrap Django’s ASGI application in their own custom ASGI wrapper

My first plugin that uses that is django-plugin-datasette, built today at the #djangoconUS sprints

It adds a Datasette instance to a Django app, at /-/datasette/, which serves any SQLite databases it finds in settings.DATABASES

More details here: simonwillison.net/2024/Sep/26/