Add API documentation with django-rest-swagger.

This commit is contained in:
Douglas Hall
2018-05-04 14:24:03 -04:00
committed by Douglas Hall
parent ab43de112b
commit c6ec5edbf7
13 changed files with 66 additions and 1 deletions

View File

@@ -310,6 +310,9 @@ FEATURES = {
# Prevent auto auth from creating superusers or modifying existing users
'RESTRICT_AUTOMATIC_AUTH': True,
# Set this to true to make API docs available at /api-docs/.
'ENABLE_API_DOCS': False,
}
ENABLE_JASMINE = False
@@ -1139,6 +1142,9 @@ INSTALLED_APPS = [
# Asset management for mako templates
'pipeline_mako',
# API Documentation
'rest_framework_swagger',
]