From a08428c90b05aa222b81b1350ca899e093dbe5e4 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Fri, 18 Oct 2024 12:03:26 +0200 Subject: [PATCH] commit in login page --- login/templates/login.html | 1 + login/views.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/login/templates/login.html b/login/templates/login.html index 97ba4cb..a82882e 100644 --- a/login/templates/login.html +++ b/login/templates/login.html @@ -42,4 +42,5 @@ + {% endblock %} diff --git a/login/views.py b/login/views.py index be6b009..beb0368 100644 --- a/login/views.py +++ b/login/views.py @@ -1,5 +1,6 @@ import logging +from django.conf import settings from django.urls import reverse_lazy from django.contrib.auth import views as auth_views from django.contrib.auth import login as auth_login @@ -17,7 +18,7 @@ class LoginView(auth_views.LoginView): extra_context = { 'title': _('Login'), 'success_url': reverse_lazy('dashboard:unassigned_devices'), - # 'commit_id': settings.COMMIT, + 'commit_id': settings.COMMIT, } def get(self, request, *args, **kwargs):