From 370b16f4156ccdc9956dedc00e5dfb6106380d9d Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Wed, 4 Sep 2024 12:07:17 +0100 Subject: UI changes - ripped out more w3 stuff - better login page template - redirects to home after successful login --- conf/settings/base.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'conf') diff --git a/conf/settings/base.py b/conf/settings/base.py index fb9b658..5f7301c 100644 --- a/conf/settings/base.py +++ b/conf/settings/base.py @@ -51,6 +51,7 @@ INSTALLED_APPS = [ "django.contrib.messages", "django.contrib.staticfiles", "django_htmx", + "widget_tweaks", # "debug_toolbar", ] @@ -79,6 +80,7 @@ ROOT_URLCONF = "ded.urls" # new auth user AUTH_USER_MODEL = "myuser.TeamUser" +LOGIN_REDIRECT_URL = "/" TEMPLATES = [ { -- cgit v1.2.3