diff --git a/steering/settings.py b/steering/settings.py index 1344064073d7bada7ab6c78c6f13aa925046397a..b64fc042d497d6a228506b6cf7c9e232ae93d273 100644 --- a/steering/settings.py +++ b/steering/settings.py @@ -1,11 +1,10 @@ import os from pathlib import Path +import ldap from corsheaders.defaults import default_headers from django_auth_ldap.config import LDAPSearch, PosixGroupType -import ldap - BASE_DIR = Path(__file__).resolve(strict=True).parent.parent LOCALE_PATHS = (BASE_DIR / "locale",) @@ -106,6 +105,7 @@ SPECTACULAR_SETTINGS = { "drf_spectacular.hooks.postprocess_schema_enums", "steering.schema.add_enum_documentation", "steering.schema.fix_schedule_pk_type", + "drf_spectacular.contrib.djangorestframework_camel_case.camelize_serializer_fields", ], "VERSION": "1.0.0", }