drf-flex-fields
drf-nested-routers
Our great sponsors
drf-flex-fields | drf-nested-routers | |
---|---|---|
3 | 8 | |
710 | 1,607 | |
- | - | |
4.0 | 5.2 | |
7 months ago | 2 days ago | |
Python | Python | |
MIT License | Apache License 2.0 |
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.
drf-flex-fields
-
Ideal way to implement listing of products with tags
You could use a HyperLinked model serializer (also check this) and add expandable fields so with one call you can choose if you want the tags field to be detailed (expanded) or not. E.g. /product//?expand=tags
-
problem with dynamic filtering serializer
You can use drf-flex-fields or copy its implementation. It has exactly what you need, ctrl + f "?fields=".
-
is it a bad practice to have a lot of slightly different serializers?
This library helps me reuse serializers a lot more https://github.com/rsinger86/drf-flex-fields
drf-nested-routers
-
Django Rest Framework Nested Routing
I suggest that you use the drf nested routes package.
-
API Design need help
This worked for me https://github.com/alanjds/drf-nested-routers
-
DRF Nested Routers - status and reliability
What is the status and reliability of https://github.com/alanjds/drf-nested-routers? Is is stable enough for production and to commit effort into using it?
-
When is it appropriate to use DRF viewsets.Viewset?
ViewSets don't rule out nested data but it does take more work. I use https://github.com/alanjds/drf-nested-routers in places where I need nested viewsets.
-
Help needed with designing the API
If you're using Django Rest Framework, you may also want to look into drf-nested-routers. This is a package that makes routes like /parent/:parent_id/child/ easier to do.
-
Running into Issues with Nested Routes using drf-nested-routers
According to the docs, the drf-nested-routers package is the way to handle this. The docs also made it look extremely simple to use, but I must be missing something, as I get a "Page Not Found" error.
-
Using DRF ModelViewSet for a task manager with attachments - any feedback?
I looked at a couple DRF nested resource libraries (drf-extensions and drf-nested-routers) but found them to be overkill.
What are some alternatives?
drf-yasg - Automated generation of real Swagger/OpenAPI 2.0 schemas from Django REST Framework code.
Django REST Swagger - Swagger Documentation Generator for Django REST Framework: deprecated
django-restql - Turn your API made with Django REST Framework(DRF) into a GraphQL like API.
ara - ARA Records Ansible and makes it easier to understand and troubleshoot.
dr_scaffold - scaffold django rest apis like a champion 🚀
best-of-web-python - 🏆 A ranked list of awesome python libraries for web development. Updated weekly.
django-rest-witchcraft - Django REST Framework integration with SQLAlchemy
django-rest-auth - This app makes it extremely easy to build Django powered SPA's (Single Page App) or Mobile apps exposing all registration and authentication related functionality as CBV's (Class Base View) and REST (JSON)
django-rest-framework-gis - Geographic add-ons for Django REST Framework. Maintained by the OpenWISP Project.
Sentry - Developer-first error tracking and performance monitoring
django-to-rest - A simple library to expose REST API(s) for django models with less efforts