Thanks! Yes definitely, I think it's a great fit for anything self-contained and limited scope that doesn't need a lot of code. I've certainly found having an easy way to run a single file using Django's ORM is pretty handy.
Regarding API serving, I'm planning on making it easier to use third party apps; the main obstacle is registering `includes` urls, which is doable at the moment but involves manually appending a path to `nanodjango.urls.urlpatterns`. I want to expand route registration to give a nicer internal api, then once that's in place Django Ninja should work pretty much out of the box - the only different should be how you register the url.
Me too, I'm convinced it has a place - the number of single file projects over the past few years can't be a coincidence.
For me the two missing pieces were models and a path to migrate to a full project once it outgrew a single file, so I wrote nanodjango (https://github.com/radiac/nanodjango/, formerly django-flasky) - you can use the ORM and admin site, and I recently added a "convert" command to automatically break up a single page app into a full Django project structure.
I've been using it for a couple of years for prototyping/experimenting and putting together small apps, and with the new features this year feels like it's a really practical alternative to flask.
SEEKING WORK | UK | Remote | Python developer for 15+ years
I have been a Python and Django specialist for over 15 years, working as a full stack developer for 20 years and as a hands-on CTO for four at one of the UK's leading Python and Django consultancies.
Core technologies: Python, Django, JavaScript, Linux and container-based ops.
Skills: Project scoping and implementation, team building and management, technical strategy.
Most of my career has been in consultancy/agency environments where every project is different, so I have production experience working in a wide range of languages, libraries, frameworks and platforms in both frontend and backend - including Wagtail and DRF, React and htmx, and Docker and k8s.
I am available for one-offs, part-time, or long-term contracts, in either development or advisory roles. Take a look at my open source projects for a sample of my work, or get in touch for my full CV.
SEEKING WORK | UK | Remote | Lead developer/CTO contract
I have been a Python and Django specialist for 15 years, working as a full stack developer for over 20 years and as a hands-on CTO for the last four at one of the UK's leading Python and Django consultancies. I am immediately available for interviews, either for one-offs or long-term contracts.
Skills:
* Project scoping and estimating, team building, recruitment and resource management
* Directing technical strategies and solutions
* Implementation of anything from an MVP through to a production-ready deployment
* Advocating for code quality, linting, testing and documentation
* Comfortable working closely with clients
Technologies:
* Backend: Python, Django, DRF, htmx, Flask and FastAPI and more
SEEKING WORK | UK | Remote | Lead developer/CTO contract
I have been a Python and Django specialist for 15 years, working as a full stack developer for over 20 years and as a hands-on CTO for the last four at one of the UK's leading Python and Django consultancies. I am immediately available for interviews, either for one-offs or long-term contracts.
Skills:
* Project scoping and estimating, team building, recruitment and resource management
* Directing technical strategies and solutions
* Advocating for code quality, linting, testing and documentation
* Comfortable working closely with clients
Technologies:
* Backend: Python, Django, DRF, htmx, Flask and FastAPI and more