Oh, this Django Modern Rest seems promising! Thank you for sharing. It is still missing some features from Ninja, like decorators, allowing us to use any third-party Django packages, or pagination. But it's not bad for a start.
Velxio is an incredible, but weird project. Honestly, it is simpler (and more fun) to do the project by hand.
When we were recently discussing the challenges of maintaining open-source software, I had the example of Mkdocs in mind, but I didn’t want to mention it. 🙃
Actually, I didn’t look properly at the middleware options – sorry :)
However, regarding pagination, the documentation says “We don’t ship our own pagination”. Ninja offers several pagination options out of the box (I like the cursor one). I find that more convenient.
That said, I think your project is brilliant and I mentioned it in today’s newsletter :)
Oh, this Django Modern Rest seems promising! Thank you for sharing. It is still missing some features from Ninja, like decorators, allowing us to use any third-party Django packages, or pagination. But it's not bad for a start.
Velxio is an incredible, but weird project. Honestly, it is simpler (and more fun) to do the project by hand.
When we were recently discussing the challenges of maintaining open-source software, I had the example of Mkdocs in mind, but I didn’t want to mention it. 🙃
Hi! django-modern-rest's author here :wave:
> It is still missing some features from Ninja, like decorators, allowing us to use any third-party Django packages, or pagination.
We actually do have this feature, it is called `wrap_middleware`, see `dmr.decorators` :)
We also have multiple examples here https://django-modern-rest.readthedocs.io/en/latest/pages/middleware.html
Pagination is also supported out of the box. See https://django-modern-rest.readthedocs.io/en/latest/pages/integrations.html#pagination
Please, let me know if we can improve something :)
Hi sobolevn,
Actually, I didn’t look properly at the middleware options – sorry :)
However, regarding pagination, the documentation says “We don’t ship our own pagination”. Ninja offers several pagination options out of the box (I like the cursor one). I find that more convenient.
That said, I think your project is brilliant and I mentioned it in today’s newsletter :)
https://lewoudar.substack.com/p/whats-up-in-the-python-and-tech-environment-746
Yes, we should probably rephrase that :) Thanks for the feedback!