added privacy policy
This commit is contained in:
BIN
rog/.DS_Store
vendored
BIN
rog/.DS_Store
vendored
Binary file not shown.
BIN
rog/templates/.DS_Store
vendored
Normal file
BIN
rog/templates/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
rog/templates/admin/.DS_Store
vendored
Normal file
BIN
rog/templates/admin/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
rog/templates/admin/rog/.DS_Store
vendored
Normal file
BIN
rog/templates/admin/rog/.DS_Store
vendored
Normal file
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
from sys import prefix
|
||||
from rest_framework import urlpatterns
|
||||
from rest_framework.routers import DefaultRouter
|
||||
from .views import LocationViewSet, Location_lineViewSet, Location_polygonViewSet, Jpn_Main_PerfViewSet, Jpn_PerfViewSet, LocationsInPerf, SubInPerf, ExtentForSubPerf, SubPerfInMainPerf, ExtentForMainPerf, LocationsInSubPerf, CatView, RegistrationAPI, LoginAPI, UserAPI, UserActionViewset, UserMakeActionViewset, UserDestinations, UpdateOrder, LocationInBound, DeleteDestination, CustomAreaLocations, GetAllGifuAreas, CustomAreaNames, userDetials, UserTracksViewSet, CatByCity, ChangePasswordView, GoalImageViewSet, CheckinImageViewSet, ExtentForLocations, DeleteAccount
|
||||
from .views import LocationViewSet, Location_lineViewSet, Location_polygonViewSet, Jpn_Main_PerfViewSet, Jpn_PerfViewSet, LocationsInPerf, SubInPerf, ExtentForSubPerf, SubPerfInMainPerf, ExtentForMainPerf, LocationsInSubPerf, CatView, RegistrationAPI, LoginAPI, UserAPI, UserActionViewset, UserMakeActionViewset, UserDestinations, UpdateOrder, LocationInBound, DeleteDestination, CustomAreaLocations, GetAllGifuAreas, CustomAreaNames, userDetials, UserTracksViewSet, CatByCity, ChangePasswordView, GoalImageViewSet, CheckinImageViewSet, ExtentForLocations, DeleteAccount, PrivacyView
|
||||
from django.urls import path, include
|
||||
from knox import views as knox_views
|
||||
|
||||
@ -47,5 +47,6 @@ urlpatterns += [
|
||||
path('userdetials/', userDetials, name='user_detials'),
|
||||
path('change-password/', ChangePasswordView.as_view(), name='change-password'),
|
||||
path('delete-account/', DeleteAccount, name="delete-account"),
|
||||
path('privacy/', PrivacyView, name='privacy-view')
|
||||
# path('goal-image/', GoalImageViewSet.as_view(), name='goal-image')
|
||||
]
|
||||
@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user