drf-flex-fields
best-of-web-python
drf-flex-fields | best-of-web-python | |
---|---|---|
3 | 3 | |
710 | 2,167 | |
- | 1.1% | |
4.0 | 8.0 | |
7 months ago | 6 days ago | |
Python | Python | |
MIT License | Creative Commons Attribution Share Alike 4.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
best-of-web-python
-
[D] Your favourite tool for data extraction from web?
https://github.com/ml-tooling/best-of-web-python#web-scraping--crawling
-
best-of-python-web: A ranked list of awesome Python libraries for web development
ml-tooling / best-of-web-python
-
[P] best-of-ml-python: A ranked list of awesome machine learning Python libraries
best-of-web-python: Python libraries for web development.
What are some alternatives?
drf-yasg - Automated generation of real Swagger/OpenAPI 2.0 schemas from Django REST Framework code.
fastapi-azure-auth - Easy and secure implementation of Azure Entra ID (previously AD) for your FastAPI APIs 🔒 B2C, single- and multi-tenant support.
Django REST Swagger - Swagger Documentation Generator for Django REST Framework: deprecated
djangochannelsrestframework - A Rest-framework for websockets using Django channels-v4
ara - ARA Records Ansible and makes it easier to understand and troubleshoot.
django-renderpdf - 📄 Django app to render django templates as PDF files.
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-restql - Turn your API made with Django REST Framework(DRF) into a GraphQL like API.
drf-nested-routers - Nested Routers for Django Rest Framework
django-rest-framework-social-oauth2 - python-social-auth and oauth2 support for django-rest-framework
xdoctest - A rewrite of Python's builtin doctest module (with pytest plugin integration) with AST instead of REGEX.
Fake-Data-Generator-Database-API - 💾 Fake Data Generator Database Supply API codes go here.