Skip to content

Commit 226a974

Browse files
authored
'AutoSchema' object has no attribute 'get_link' #71 (#72)
1 parent eb4402b commit 226a974

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tutorial/settings.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@
130130
'PAGE_SIZE': 10,
131131
'DEFAULT_PAGINATION_CLASS':
132132
'rest_framework.pagination.PageNumberPagination',
133+
'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema'
134+
133135
}
134136

135137
if ENVIRONMENT == 'production':

0 commit comments

Comments
 (0)