Add filtering for Event and Signup ViewSets
This commit is contained in:
@@ -103,6 +103,7 @@ INSTALLED_APPS = [
|
||||
'auditlog',
|
||||
'phonenumber_field',
|
||||
'import_export',
|
||||
'django_filters',
|
||||
]
|
||||
|
||||
IMPORT_EXPORT_USE_TRANSACTIONS = True
|
||||
@@ -234,6 +235,9 @@ REST_FRAMEWORK = {
|
||||
},
|
||||
'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',
|
||||
'PAGE_SIZE': 10,
|
||||
'DEFAULT_FILTER_BACKENDS': (
|
||||
'django_filters.rest_framework.DjangoFilterBackend',
|
||||
),
|
||||
}
|
||||
|
||||
# Email settings (tested working with gmail)
|
||||
|
||||
Reference in New Issue
Block a user