Add API documentation with django-rest-swagger.
This commit is contained in:
committed by
Douglas Hall
parent
ab43de112b
commit
c6ec5edbf7
@@ -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',
|
||||
]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user