Writing Filter Backends in Django REST Framework!
โ๏ธ ๐๐๐ ๐บ๐ฒ ๐ฎ ๐ฐ๐ผ๐ณ๐ณ๐ฒ๐ฒ: To support the channel and encourage new videos, please consider buying me a coffee here: https://ko-fi.com/bugbytes โญTop resource to learn Python - https://datacamp.pxf.io/kOjKkV โญ In this video, we'll learn how to define a CUSTOM Django REST Framework filter backend for encapsulating re-usable filtering logic. We'll see how to inherit from BaseFilterBackend and write a simple backend for our Product view. Starter Code: https://github.com/bugbytes-io/drf-course-api ๐ฆ๐ผ๐ฐ๐ถ๐ฎ๐น ๐ ๐ฒ๐ฑ๐ถ๐ฎ: ๐ Blog: https://bugbytes.io/posts/ ๐พ Github: https://github.com/bugbytes-io/drf-course-api ๐ ๐๐๐ฟ๐๐ต๐ฒ๐ฟ ๐ฟ๐ฒ๐ฎ๐ฑ๐ถ๐ป๐ด ๐ฎ๐ป๐ฑ ๐ถ๐ป๐ณ๐ผ๐ฟ๐บ๐ฎ๐๐ถ๐ผ๐ป: Starter Code: https://github.com/bugbytes-io/drf-course-api DRF Filtering: https://www.django-rest-framework.org/api-guide/filtering/ django-filter: https://django-filter.readthedocs.io/en/stable/ DRF/django-filter integration: https://django-filter.readthedocs.io/en/stable/guide/rest_framework.html #python #django #webdevelopment #djangorestframework
Download
0 formatsNo download links available.