We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab694ec commit 1cd663cCopy full SHA for 1cd663c
rest_framework/settings.py
@@ -78,6 +78,7 @@
78
# Authentication
79
'UNAUTHENTICATED_USER': 'django.contrib.auth.models.AnonymousUser',
80
'UNAUTHENTICATED_TOKEN': None,
81
+ 'WWW_AUTHENTICATE_BEHAVIOR': 'first',
82
83
# View configuration
84
'VIEW_NAME_FUNCTION': 'rest_framework.views.get_view_name',
0 commit comments