11 | Add filters, sorting and search in GET APIs using Django Rest Framework | by Hardik Patel

  Рет қаралды 34,443

Hardik Patel

Hardik Patel

6 жыл бұрын

Add filters, sorting and search in GET APIs using Django Rest Framework
Links -
Django-Filter - django-filter.readthedocs.io
Source Code - github.com/aarav-tech/ems
Website - www.aaravtech.com
Facebook / aaravtech
Twitter - / aarav_tech
Instagram - / aaravtech

Пікірлер: 50
@gregc4878
@gregc4878 4 жыл бұрын
What if you want to get all users with designation Admin AND Employee, but not HR or other designations?
@MinhThu-nj7zi
@MinhThu-nj7zi 4 жыл бұрын
This helps so much, thanks!!!
@PhucNguyen-bn9io
@PhucNguyen-bn9io 5 жыл бұрын
that's very helpful
@EddyCaffrey
@EddyCaffrey 6 жыл бұрын
Great job. Thanks
@naimurhasanrwd
@naimurhasanrwd 2 жыл бұрын
You teach awesome!
@mukeshbhatt1641
@mukeshbhatt1641 4 жыл бұрын
can you also tell us how to debug in Django rest framework.. In pycharm or in Atom IDE
@mnouman3803
@mnouman3803 4 жыл бұрын
nested query only works on a single object in list. why is that?
@NepaliWhitehat
@NepaliWhitehat 5 жыл бұрын
sir u havent mentioned how to create custom search classes .. could u please make video on it?
@josiahdavid7735
@josiahdavid7735 3 жыл бұрын
For adding Search functionality you still use the Filter set and then configure the search fields.
@PrAsHaNtHdUke1093
@PrAsHaNtHdUke1093 3 жыл бұрын
Thanks bro..upload more videos.
@danielalbert4077
@danielalbert4077 3 жыл бұрын
Thanks bro.
@user-py5yx1jl3j
@user-py5yx1jl3j 5 жыл бұрын
Thanks a lot!!!
@hoggok
@hoggok 5 жыл бұрын
Thx man!
@kasa007
@kasa007 4 жыл бұрын
can you explain more about the searching part? i want to implement a global search of files from the filesystem for my Django project.
@kamar1380
@kamar1380 4 жыл бұрын
Hi aditi which kind of project you made. ..?
@reapergrim5324
@reapergrim5324 3 жыл бұрын
Wah bhai maja aya
@patrickknows2296
@patrickknows2296 4 жыл бұрын
Bro can you help me add a export to csv to django-filters?
@satvikk7076
@satvikk7076 5 жыл бұрын
I want to write API for Sign in. I have created my own database in that i have registration Table. What i want if user already registered it will to login or message otherwise it will show error message.
@abirajrajendran2327
@abirajrajendran2327 3 жыл бұрын
using BasicAuthentication ,Sessionauthentican ,,,
@mehboobshaikh8396
@mehboobshaikh8396 3 жыл бұрын
can you make a video on how to integrate Django rest framework with Keycloak?
@shivamdharwal8859
@shivamdharwal8859 5 жыл бұрын
"detail": "Method \"GET\" not allowed. this error is raising.
@JustGamingJG
@JustGamingJG 5 жыл бұрын
thanks
@emrah6303
@emrah6303 3 жыл бұрын
Thnks
@dgiri2333
@dgiri2333 3 жыл бұрын
how to filter SerializerMethodField
@khadimhusen
@khadimhusen 5 жыл бұрын
Sir, please django angular project tutorial.
@vijaykumar-tv4oo
@vijaykumar-tv4oo 3 жыл бұрын
send the all the class based view tutorial videos
@dnyaneshctech7409
@dnyaneshctech7409 3 жыл бұрын
How to sort Numbers field using this method????????????????????????????/
@dnyaneshctech7409
@dnyaneshctech7409 3 жыл бұрын
Yes sir But it only sort 0 to 9 numbers.... But it's not sort greater number than 9
@dnyaneshctech7409
@dnyaneshctech7409 3 жыл бұрын
@@HardikPatelN please help me sir
@dnyaneshctech7409
@dnyaneshctech7409 3 жыл бұрын
Muze 0 to 100 numbers Ascending aur descending main... Sort krne ke he.... But a sirf 0-9 ya 9-0 itnehi sort krta hai.....????? Please help me sir.
@dnyaneshctech7409
@dnyaneshctech7409 3 жыл бұрын
@@HardikPatelN Yes i Used field that i want to order........but in that case they only sort 9.. For eg:- This is my field.. 1,2,3,34,4,7,8,9 If we sort by descending order then... Correct descending order is 34,9,8,7,4,3,2,1 But in my case its 9,8,7,34,4,3,2, 1...that type of sorting i get... Please help me sir
@dnyaneshctech7409
@dnyaneshctech7409 3 жыл бұрын
It's does not sort more than 9 numberss.....
@demidrek-heyward
@demidrek-heyward 4 жыл бұрын
thanks
12 | Advanced django filter | by Hardik Patel
16:07
Hardik Patel
Рет қаралды 9 М.
КАК ДУМАЕТЕ КТО ВЫЙГРАЕТ😂
00:29
МЯТНАЯ ФАНТА
Рет қаралды 8 МЛН
Эффект Карбонаро и нестандартная коробка
01:00
История одного вокалиста
Рет қаралды 9 МЛН
Double Stacked Pizza @Lionfield @ChefRush
00:33
albert_cancook
Рет қаралды 55 МЛН
Django Rest Framework Series - Filters and Search features  - Part-6
38:41
Django Rest Framework | Serializers & CRUD
22:40
Dennis Ivy
Рет қаралды 382 М.
3 | Serializations in Django Rest Framework | By Hardik Patel
25:50
REST API Testing with Django REST Framework
14:41
pymike00
Рет қаралды 38 М.
КАК ДУМАЕТЕ КТО ВЫЙГРАЕТ😂
00:29
МЯТНАЯ ФАНТА
Рет қаралды 8 МЛН