mirror of
https://github.com/jazzband/django-admin2.git
synced 2026-03-16 22:20:24 +00:00
django-filter rest backend global
This commit is contained in:
parent
fbd1ab5931
commit
c724c332c6
1 changed files with 3 additions and 1 deletions
|
|
@ -151,7 +151,9 @@ REST_FRAMEWORK = {
|
|||
|
||||
'DEFAULT_PERMISSION_CLASSES': [
|
||||
'rest_framework.permissions.DjangoModelPermissionsOrAnonReadOnly'
|
||||
]
|
||||
],
|
||||
'DEFAULT_FILTER_BACKENDS': (
|
||||
'django_filters.rest_framework.DjangoFilterBackend',)
|
||||
}
|
||||
|
||||
ADMIN2_THEME_DIRECTORY = "djadmin2theme_bootstrap3"
|
||||
|
|
|
|||
Loading…
Reference in a new issue