Skip to content
Snippets Groups Projects
Unverified Commit 6997ceb3 authored by Tomasz Knapik's avatar Tomasz Knapik
Browse files

Disable basic auth in DRF

parent 98b15c5c
No related branches found
No related tags found
No related merge requests found
...@@ -612,7 +612,6 @@ REST_FRAMEWORK = { ...@@ -612,7 +612,6 @@ REST_FRAMEWORK = {
'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.PageNumberPagination', 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.PageNumberPagination',
'PAGE_SIZE': 10, 'PAGE_SIZE': 10,
'DEFAULT_AUTHENTICATION_CLASSES': ( 'DEFAULT_AUTHENTICATION_CLASSES': (
'rest_framework.authentication.BasicAuthentication',
'rest_framework.authentication.SessionAuthentication', 'rest_framework.authentication.SessionAuthentication',
), ),
'DEFAULT_PERMISSION_CLASSES': ( 'DEFAULT_PERMISSION_CLASSES': (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment