Closed brunns closed 2 months ago
It appears you are attempting to run the app via uv run nd_hello.py
.
Assuming you are in a uv initialized project, you can use uv run nanodjango run nd_hello.py
.
Otherwise: uvx nanodjango run nd_hello.py
would work as well.
Thanks for spotting this! You should be able to uv run nd_hello.py
, but there is a problem - it must have crept into a recent release, and there's a glaring lack of tests around this!
I'll be taking a look at it in the DjangoCon sprints over the next couple of days.
Thanks @radiac!
Almost certainly an error on my side, but I can't see it. My script looks like this:
Running it with uv (version 0.4.16) I get: