Skip to content

Commit 9421fca

Browse files
committed
(chore) permit session and basic authentication in settings
1 parent ee74ca5 commit 9421fca

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

db.sqlite3

0 Bytes
Binary file not shown.

project/settings.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@
3333
'rest_framework.permissions.IsAuthenticated',
3434
),
3535
'DEFAULT_AUTHENTICATION_CLASSES': (
36+
'rest_framework.authentication.BasicAuthentication',
3637
'rest_framework.authentication.TokenAuthentication',
38+
'rest_framework.authentication.SessionAuthentication'
3739
)
3840
}
3941

0 commit comments

Comments
 (0)