diff --git a/rest_framework/settings.py b/rest_framework/settings.py index b0d7bacec..2a05e6879 100644 --- a/rest_framework/settings.py +++ b/rest_framework/settings.py @@ -78,6 +78,7 @@ DEFAULTS = { # Authentication 'UNAUTHENTICATED_USER': 'django.contrib.auth.models.AnonymousUser', 'UNAUTHENTICATED_TOKEN': None, + 'WWW_AUTHENTICATE_BEHAVIOR': 'first', # View configuration 'VIEW_NAME_FUNCTION': 'rest_framework.views.get_view_name',