News for hackers. Stuff that matters.
Re:Nanodjango by stuaxo on Saturday September 28, 2024 @10:23AM (#41680391)
Has anyone got Django working in the browser with local emscripten and ideally in browser postgres?
Re:Nanodjango by gkhartman on Saturday September 28, 2024 @05:46PM (#41683204)
What would be the use case for something like this?
Re:Nanodjango by falcor84 on Saturday September 28, 2024 @02:48PM (#41682191)
This is unironically amazing. I love Flask for small projects, but setting it up to work with a database (using sqlalchemy and anything else I tried) is a lot more work than it is with Django's batteries-included approach. This nanodjango really seems to be the best of both worlds, and this utility command to then convert it to a full Django app (if it works as advertised), is the icing on the cake [0]:

    nanodjango counter.py convert /path/to/site --name=myproject
[0] https://nanodjango.readthedocs.io/en/latest/get_started.html...