For AC-331. Major updates to API filtering to allow negative filtering, use of a list of items with the __in lookup, more flexible boolean/null values, more validation of filter values, and tests.

This commit is contained in:
Chris Church
2013-08-08 15:58:42 -04:00
parent b9c8002409
commit 30d2a4f5c9
5 changed files with 510 additions and 41 deletions

View File

@@ -151,7 +151,9 @@ REST_FRAMEWORK = {
'awx.main.permissions.ModelAccessPermission',
),
'DEFAULT_FILTER_BACKENDS': (
'awx.main.filters.DefaultFilterBackend',
'awx.main.filters.ActiveOnlyBackend',
'awx.main.filters.FieldLookupBackend',
'awx.main.filters.OrderByBackend',
),
'DEFAULT_PARSER_CLASSES': (
'rest_framework.parsers.JSONParser',