Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions {{ cookiecutter.name }}/src/app/conf/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@
"EXCEPTION_HANDLER": "app.exceptions.app_service_exception_handler",
}

# Adding session auth and browsable API at the developer machine
if env("DEBUG", cast=bool, default=False):
REST_FRAMEWORK["DEFAULT_AUTHENTICATION_CLASSES"].append("rest_framework.authentication.SessionAuthentication")
REST_FRAMEWORK["DEFAULT_RENDERER_CLASSES"].append("djangorestframework_camel_case.render.CamelCaseBrowsableAPIRenderer")


# Set up drf_spectacular, https://drf-spectacular.readthedocs.io/en/latest/settings.html
SPECTACULAR_SETTINGS = {
Expand Down
Loading