Nanodjango 0.8 is out, adding async view and ASGI support. Now you can write async single file scripts that look like Flask or FastAPI, but with all #django features like models, auth, admin etc.

Used with pipx or uv run it's great for sharing examples and prototypes, and it has a command to convert it into a full structured project if it needs to grow.

https://github.com/radiac/nanodjango

GitHub - radiac/nanodjango: Full Django in a single file - views, models, API ,with async support. Automatically convert it to a full project.

Full Django in a single file - views, models, API ,with async support. Automatically convert it to a full project. - radiac/nanodjango

GitHub
@radiac oh this is a very cool take on the usual single file approach 👏
@markwalker Thanks! It started as a fun exercise, but I've found being able to use models and admin makes it quite a useful tool.