diff --git a/tutorial/settings.py b/tutorial/settings.py index e2b5663f..4f4b856d 100644 --- a/tutorial/settings.py +++ b/tutorial/settings.py @@ -130,6 +130,8 @@ 'PAGE_SIZE': 10, 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.PageNumberPagination', + 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema' + } if ENVIRONMENT == 'production':