Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/alanjds/drf-nested-routers
/ view
Function
view
rest_framework/tests/test_testing.py:15–19 ·
view source on GitHub ↗
(request)
Source
from the content-addressed store, hash-verified
13
14
@api_view([
'GET'
,
'POST'
])
15
def
view(request):
16
return
Response({
17
'auth'
: request.META.get(
'HTTP_AUTHORIZATION'
, b
''
),
18
'user'
: request.user.username
19
})
20
21
22
@api_view([
'GET'
,
'POST'
])
Callers
15
test_m2m_in_browseable_api
Method · 0.85
test_dynamic_serializer_form_in_browsable_api
Method · 0.85
test_get_django_filter_paginated_filtered_root_view
Method · 0.85
test_get_basic_paginated_filtered_root_view
Method · 0.85
test_csrf_exempt_by_default
Method · 0.85
test_explicitly_enforce_csrf_checks
Method · 0.85
test_force_authenticate
Method · 0.85
test_only_permitted_forms_are_displayed
Method · 0.85
test_pre_save_validation_exclusions
Method · 0.85
test_incorrect_credentials
Method · 0.85
test_class_based_view_exception_handler
Method · 0.85
test_function_based_view_exception_handler
Method · 0.85
Calls
2
Response
Class · 0.90
get
Method · 0.45
Tested by
no test coverage detected