<reponame>M4hakala/drf_route_api_example
from rest_framework import permissions, generics


class RouteApiView(generics.CreateAPIView, generics.RetrieveAPIView):
    permission_classes = [permissions.AllowAny]

from rest_framework import permissions, generics


class RouteApiView(generics.CreateAPIView, generics.RetrieveAPIView):
    permission_classes = [permissions.AllowAny]