Skip to content
Open
1 change: 0 additions & 1 deletion tests/integrations/django/myapp/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ def path(path, *args, **kwargs):
name="rest_framework_read_body_and_exc",
)
)
urlpatterns.append(path("rest-hello", views.rest_hello, name="rest_hello"))
urlpatterns.append(
path(
"rest-authenticated-hello",
Expand Down
4 changes: 0 additions & 4 deletions tests/integrations/django/myapp/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@ def rest_framework_read_body_and_exc(request):
request.data
1 / 0

@api_view(["GET"])
def rest_hello(request):
return HttpResponse("ok")

@api_view(["GET"])
def rest_permission_denied_exc(request):
raise PermissionDenied("bye")
Expand Down
Loading