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 @@
"""api v2 urls"""
from django.urls import path, re_path
from drf_yasg import openapi
from drf_yasg.views import get_schema_view
from drf_yasg2 import openapi
from drf_yasg2.views import get_schema_view
from rest_framework import routers
from rest_framework.permissions import AllowAny