diff --git a/gas/gas/core/views.py b/gas/gas/core/views.py index 453ea55..e4b62a1 100644 --- a/gas/gas/core/views.py +++ b/gas/gas/core/views.py @@ -7,7 +7,7 @@ from django.views.generic import TemplateView from gas.views import GASMixin -class GASLoginView(LoginView): +class GASLoginView(GASMixin, LoginView): template_name = "gas/login.html" def get_success_url(self): diff --git a/gas/templates/gas/login.html b/gas/templates/gas/login.html index 4af06e2..bdec581 100644 --- a/gas/templates/gas/login.html +++ b/gas/templates/gas/login.html @@ -4,7 +4,9 @@ {{ gas_title }} {% trans "Login" %} - + {% for cssfile in css %} + + {% endfor %}
{% csrf_token %}