We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4663da8 commit 37bd511Copy full SHA for 37bd511
server/api/healthcheck/views.py
@@ -1,9 +1,11 @@
1
-from rest_framework.decorators import api_view
+from rest_framework.decorators import api_view, authentication_classes, permission_classes
2
3
from django.http import HttpResponse
4
5
6
# Create your views here.
7
@api_view(["GET"])
8
+@authentication_classes([])
9
+@permission_classes([])
10
def ping(request):
11
return HttpResponse("Pong!", status=200)
0 commit comments