root: switch from drf-yasg to drf_yasg2 and up rest_framework

This commit is contained in:
Jens Langhammer
2020-10-16 22:54:14 +02:00
parent 25d0ac6534
commit dd0d7e7481
9 changed files with 111 additions and 33 deletions

View File

@ -1,7 +1,7 @@
"""passbook administration overview"""
from django.core.cache import cache
from django.http import response
from drf_yasg.utils import swagger_auto_schema
from drf_yasg2.utils import swagger_auto_schema
from rest_framework.fields import SerializerMethodField
from rest_framework.permissions import IsAdminUser
from rest_framework.request import Request