feat: Add initial CSV export of people

This commit is contained in:
James Graham
2020-03-27 11:15:26 +00:00
parent b2fd9eeaf9
commit 9f493a53e4
2 changed files with 11 additions and 0 deletions

View File

@@ -246,3 +246,12 @@ CONSTANCE_BACKEND = 'constance.backends.database.DatabaseBackend'
BOOTSTRAP4 = {
'include_jquery': 'full',
}
# Django Rest Framework settings for API
REST_FRAMEWORK = {
'DEFAULT_RENDERER_CLASSES': [
'rest_framework_csv.renderers.CSVRenderer',
]
}