From 02bf93efc81d89f090682eaa3070120578760dc7 Mon Sep 17 00:00:00 2001 From: shagi Date: Tue, 11 May 2021 18:42:34 +0200 Subject: [PATCH] Use all css files on login template --- gas/gas/core/views.py | 2 +- gas/templates/gas/login.html | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) 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 %}