Skip to content

Commit

Permalink
Merge pull request #8 from mohmyo/patch-2
Browse files Browse the repository at this point in the history
Fix AttributeError at /docs/
  • Loading branch information
iMerica committed Mar 13, 2020
2 parents 6460348 + 654eb22 commit 344a529
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion demo/demo/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@
'DEFAULT_AUTHENTICATION_CLASSES': (
'rest_framework.authentication.SessionAuthentication',
'rest_framework.authentication.TokenAuthentication',
)
),
'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema'
}

SWAGGER_SETTINGS = {
Expand Down

0 comments on commit 344a529

Please sign in to comment.