How to implement filter API in Django rest framework
问题 I am trying to implement filter api in django rest. Something like - localhost:8000/api/v1/users/?email=abc.xzy@gmail.com/ So it should search for user with the passed filter and return the result.But currently it is returning all user. URLS.py url(r'^api/v1/users/$', UserViews.UserList.as_view(), name='userlist_view'), url(r'^api/v1/users/(?P<email>.+)/$', UserViews.UserList.as_view(), name='userList_view'), url(r'^api/v1/users/(?P<pk>[0-9]+)/$', UserViews.UserDetail.as_view(), name=