<filename>users/views.py<gh_stars>1-10
from django.shortcuts import render

from django.views.generic.base import RedirectView


class SwaggerRedirectView(RedirectView):
    url = 'api/swagger/'

<filename>users/views.py<gh_stars>1-10
from django.shortcuts import render

from django.views.generic.base import RedirectView


class SwaggerRedirectView(RedirectView):
    url = 'api/swagger/'
