|4 days ago||7 days ago|
|BSD 3-clause "New" or "Revised" License||MIT License|
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Hide mysql connection from app users
2 projects | reddit.com/r/learnpython | 25 Nov 2022
Why Domain Driven Design?
2 projects | news.ycombinator.com | 25 Nov 2022
> Sure you can do DDD in Django. But I do not find that framework inherently CQRS of SOA (not SOA due to it's monolithic nature).
Django has "apps", which--while they do run in the same process--aren't intended to use code from each other. They're supposed to have their own models/views/templates/migrations/etc. They're effectively different services, as long as you don't think a service has to be available at a different network address to be a different service (think of mounting different apps or microservices behind different URLs, for example).
Also, I wouldn't say Django is CQRS--CQRS is more or less a different phrasing of "JSON-RPC", which "REST" has become.
> Last Django app i saw sure had a lot of this boilerplate going. I saw this talk and thought: well this is finally a "framework" that allowes me to do away with serialization (as in: in this framework the amount of extra work you do for making the app an SPA is fairly minimal):
Eh, some people are highly allergic to any boilerplate, but like, the DRF example  has practically none.
That Elm video is interesting, but I'm skeptical of anything whose central claim is "I can easily turn front end data requests into SQL and back again in very few lines of code". There's just a lot of inherent complexity there, and my evidence is every mainstream ORM, plus all the "backend-as-a-service" products that are multi-1000s LOC. Then again I think SQL is a great (legendary, honestly) language and we should stop trying to replace it.
recommendations for Back End Engineer roadmap?
2 projects | reddit.com/r/learnprogramming | 11 Nov 2022
What are some libraries/crates that Rust still doesn't have readily available?
2 projects | reddit.com/r/rust | 2 Nov 2022
+1 for Django. What I'd like to see even more is something that is on-par with Django Rest Framework. This library deals with so much that I had wished that existed in other frameworks in other languages. Viewsets, different parsers, auto-generated API docs, excellent validation guards, authentication and permissions, throttling, filtering, pagination, versioning, many many more, it's just an amazing piece of work.
Build Blazing Fast REST Api using Django + Elasticsearch + Haystack
4 projects | dev.to | 22 Oct 2022
Django REST Framework
De/Serializing JSON In Python, While Keeping Your Types
3 projects | reddit.com/r/Python | 10 Oct 2022
have you seen Django REST? https://www.django-rest-framework.org
Any alternative to Laravel (PHP) for rapid development?
4 projects | reddit.com/r/PinoyProgrammer | 26 Sep 2022
Having issues implementing DjangoModelPermissions on DRF
As you can see, GET return an empty list, later it's used to return a boolean to see if the user has permissions ( you can try to play with the codeCustomDjangoModelPermission only add the proper elt for GET (with a deepcopy to avoid modifying the original DjangoModelPermissions). This modification will return false when django will check if an authenticated user without the view permissions can see the instances of the Tool model.
Interesting, it looks like there is a pull request to fix this, but not merged yet.
Ok, first all thank you for the perfect presentation of your issue and the opportunity to learn something new. After looking at the source code of DjangoModelPermissions, it looks like it's working as expected. An authenticated user has by default GET permissions with DjangoModelPermissions. It's surprising and I think the documentation could be clearer, but it does specify :
FastAPI - stable enough for production grade, scalable app?
6 projects | reddit.com/r/Python | 15 Oct 2022
Last but not least: Django ninja. It’s basically Django's answer to FastAPI. Unfortunately the least performant option, but with the benefit of being built in top of Django. If you’re building an API, need to go to production fast and performance isn’t that important (note though that Django is still fast enough for most applications, it won’t be your limiting factor usually) this would be the best choice in my opinion. It’s hard to find a more solid foundation than Django, and if you need to rely on stability, security and support, this is the way to go.
Introducing Svelte, and Comparing Svelte with React and Vue
9 projects | news.ycombinator.com | 8 Sep 2022
I like NextJS for the frontend and django-ninja for the backend. django-ninja has all those things you mention and way more, and has a very rich backend ecosystem thanks to being in the django world. https://django-ninja.rest-framework.com/
I've experience with Django and want to learn a microframework. Which one should I go with Flask or Fast API?
4 projects | reddit.com/r/Python | 6 Sep 2022
Building modern Python API backends in 2022
3 projects | reddit.com/r/Python | 25 Aug 2022
Simple Django API
3 projects | reddit.com/r/django | 10 Jul 2022
Check out Django Ninja3 projects | reddit.com/r/django | 10 Jul 2022
If you are using other django features but don't need the ORM, that seems like just the thing django-ninja is made for.
API + HTMx front-end architecture question
3 projects | reddit.com/r/django | 13 Jun 2022
So I have 2 Django apps: the API app and the Web app. The API app will use Django Ninja or Fast API to build a clean self-documented REST API. The Web app will serve HTMx pages.
what popular wabsites uses Flask and Django and what popular companies uses Python?
3 projects | reddit.com/r/learnpython | 11 Jun 2022
*some options that were mentioned in the thread I linked to include - Starlite (made to bypass perceived shortcomings of FastAPI) - Flama (Starlette w/ Marshmellow instead of Pydantic) - APIFlask (Flask w/ Pydantic) - Django Ninja - Quart-Schema
Ask HN: Web frameworks – which less popular framework are you using and why?
16 projects | news.ycombinator.com | 3 Jun 2022
I've used a variety of Python frameworks, DJango, FLask, FastAPI, and I'm always coming back to DJango and wishing I had just used it from the beginning.
Django Ninja brings some of the nice features of FastAPI to Django- https://django-ninja.rest-framework.com/
The Flask Mega-Tutorial
9 projects | news.ycombinator.com | 30 May 2022
I quite like the look of Django-Ninja (https://django-ninja.rest-framework.com). It's inspired by FastAPI but plays nicely with Django.
What are some alternatives?
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
fastapi-admin - A fast admin dashboard based on FastAPI and TortoiseORM with tabler ui, inspired by Django admin
drf-spectacular - Sane and flexible OpenAPI 3 schema generation for Django REST framework.
django-tastypie - Creating delicious APIs for Django apps since 2010.
Dependency Injector - Dependency injection framework for Python
openapi-generator - OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
django-modern-rpc - Simple XML-RPC and JSON-RPC server for modern Django
Django - The Web framework for perfectionists with deadlines.
django-template - A battle-tested Django 2.1 project template with configurations for AWS, Heroku, App Engine, and Docker.
connexion - Swagger/OpenAPI First framework for Python on top of Flask with automatic endpoint validation & OAuth2 support
FrameworkBenchmarks - Source for the TechEmpower Framework Benchmarks project