2022-01-13 14:09:32 +01:00
|
|
|
from django.utils.decorators import method_decorator
|
2022-01-13 14:23:13 +01:00
|
|
|
from django.views.generic import TemplateView
|
2022-01-13 14:09:32 +01:00
|
|
|
from basicauth.decorators import basic_auth_required
|
|
|
|
|
|
|
|
@method_decorator(basic_auth_required, name='dispatch')
|
2022-01-13 14:23:13 +01:00
|
|
|
class AuthView(TemplateView):
|
|
|
|
template_name = "index.html"
|