from django.views.generic import TemplateView

from ..settings import app_name
from ..utils import get_base_url


class SwaggerExpectedView(TemplateView):

    # --------------------------------------------------

    def __init__(self, **kwargs):
        base_url = get_base_url()

        kwargs['template_name'] = app_name + r'/swagger/index.html'
        kwargs['extra_context'] = {'base_url': base_url, 'app_name': app_name}

        super().__init__(**kwargs)

4b1e7a4e8f1ec8cbada03fcaaf532dc30d6fb071
<mask token>

<mask token>


class SwaggerExpectedView(TemplateView):
    <mask token>

<mask token>


class SwaggerExpectedView(TemplateView):

    def __init__(self, **kwargs):
        base_url = get_base_url()
        kwargs['template_name'] = app_name + '/swagger/index.html'
        kwargs['extra_context'] = {'base_url': base_url, 'app_name': app_name}
        super().__init__(**kwargs)

from django.views.generic import TemplateView
from ..settings import app_name
from ..utils import get_base_url


class SwaggerExpectedView(TemplateView):

    def __init__(self, **kwargs):
        base_url = get_base_url()
        kwargs['template_name'] = app_name + '/swagger/index.html'
        kwargs['extra_context'] = {'base_url': base_url, 'app_name': app_name}
        super().__init__(**kwargs)

from django.views.generic import TemplateView

from ..settings import app_name
from ..utils import get_base_url


class SwaggerExpectedView(TemplateView):

    # --------------------------------------------------

    def __init__(self, **kwargs):
        base_url = get_base_url()

        kwargs['template_name'] = app_name + r'/swagger/index.html'
        kwargs['extra_context'] = {'base_url': base_url, 'app_name': app_name}

        super().__init__(**kwargs)
