added privacy policy

This commit is contained in:
Mohamed Nouffer
2023-01-09 17:11:03 +05:30
parent 631058468c
commit 9a6ec3a1c4
9 changed files with 140 additions and 1 deletions

View File

@ -28,6 +28,7 @@ from rest_framework.decorators import api_view, permission_classes
from rest_framework.parsers import JSONParser, MultiPartParser
from django.views.decorators.csrf import csrf_exempt
import uuid
from django.shortcuts import render
@ -537,3 +538,7 @@ class TestActionViewSet(viewsets.ModelViewSet):
serializer_class = TestSerialiser
queryset = TestModel.objects.all()
def PrivacyView(request):
return render(request, "rog/privacy.html")