17 lines
540 B
Python
17 lines
540 B
Python
# -*- encoding: utf-8 -*-
|
|
|
|
import logging
|
|
|
|
from django_filters import rest_framework as rest_filters
|
|
from django.views.decorators.cache import cache_page
|
|
from django.utils.decorators import method_decorator
|
|
|
|
from rest_framework.views import APIView
|
|
from rest_framework.response import Response
|
|
from rest_framework import status, permissions, filters, generics
|
|
from rest_framework.pagination import PageNumberPagination
|
|
from rest_framework.authentication import SessionAuthentication, TokenAuthentication
|
|
|
|
log = logging.getLogger(__name__)
|
|
|