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,6 +1,6 @@
"""core messages API"""
from django.contrib.messages import get_messages
from drf_yasg.utils import swagger_auto_schema
from drf_yasg2.utils import swagger_auto_schema
from rest_framework.permissions import AllowAny
from rest_framework.request import Request
from rest_framework.response import Response