Initial commit from ZIP
This commit is contained in:
commit
378d4692a9
454 files changed
+40367
No files matched your search
Executable
+10
@@ -0,0 +1,10 @@
|
||||
from django.conf import settings
|
||||
from rest_framework import permissions, views, response
|
||||
|
||||
|
||||
class RootApiView(views.APIView):
|
||||
permission_classes = [permissions.AllowAny]
|
||||
|
||||
def get(self, request):
|
||||
print(request)
|
||||
return response.Response({"version": settings.APP_VERSION})
|
||||
Reference in new issue
Block a user