Merge "Removed default search and ordering filters."

This commit is contained in:
Zuul 2018-10-16 23:28:30 +00:00 committed by Gerrit Code Review
commit 9060fc1ec4
1 changed files with 1 additions and 3 deletions

View File

@ -144,9 +144,7 @@ REST_FRAMEWORK = {
'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',
'PAGE_SIZE': 1000,
'DEFAULT_FILTER_BACKENDS': (
'rest_framework.filters.OrderingFilter',
'rest_framework.filters.SearchFilter',
'django_filters.rest_framework.DjangoFilterBackend'
'django_filters.rest_framework.DjangoFilterBackend',
),
'DEFAULT_RENDERER_CLASSES': (
'rest_framework.renderers.JSONRenderer',