dockered
This commit is contained in:
7
django/transcendence/views.py
Normal file
7
django/transcendence/views.py
Normal file
@ -0,0 +1,7 @@
|
||||
from rest_framework.response import Response
|
||||
from rest_framework.decorators import api_view
|
||||
from rest_framework import status
|
||||
|
||||
@api_view(('GET',))
|
||||
def handler_404_view(request):
|
||||
return Response(status=status.HTTP_404_NOT_FOUND);
|
Reference in New Issue
Block a user