Allow more advanced django filtering.

This commit is contained in:
Michael DeHaan
2013-04-22 10:43:18 -04:00
parent 5901acb6a8
commit e511b60e29
2 changed files with 52 additions and 1 deletions

View File

@@ -38,7 +38,7 @@ ADMINS = (
MANAGERS = ADMINS
REST_FRAMEWORK = {
'FILTER_BACKEND': 'rest_framework.filters.DjangoFilterBackend',
'FILTER_BACKEND': 'lib.main.custom_filters.CustomFilterBackend',
'PAGINATE_BY': 25,
'PAGINATE_BY_PARAM': 'page_size',
'DEFAULT_AUTHENTICATION_CLASSES': (