scim_app/scim_app/scim_app/views.py

8 lines
272 B
Python
Raw Normal View History

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"