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,5 +1,5 @@
"""ProxyProvider API Views"""
from drf_yasg.utils import swagger_serializer_method
from drf_yasg2.utils import swagger_serializer_method
from rest_framework.fields import CharField, ListField, SerializerMethodField
from rest_framework.request import Request
from rest_framework.response import Response