From 1a2914c24441c4cec3164ecfde76ef613d80a575 Mon Sep 17 00:00:00 2001 From: BeritJanssen Date: Fri, 27 Sep 2024 09:51:13 +0200 Subject: [PATCH] move fix to common_settings --- backend/ianalyzer/common_settings.py | 1 + backend/ianalyzer/settings.py | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/ianalyzer/common_settings.py b/backend/ianalyzer/common_settings.py index d9991c2d0..8ec4f48de 100644 --- a/backend/ianalyzer/common_settings.py +++ b/backend/ianalyzer/common_settings.py @@ -98,6 +98,7 @@ }, ] +ACCOUNT_USER_DISPLAY = lambda user: user.username.replace(".", "\u2024") # Internationalization # https://docs.djangoproject.com/en/3.0/topics/i18n/ diff --git a/backend/ianalyzer/settings.py b/backend/ianalyzer/settings.py index f045543cb..a59f8a458 100644 --- a/backend/ianalyzer/settings.py +++ b/backend/ianalyzer/settings.py @@ -48,8 +48,6 @@ EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' CSRF_TRUSTED_ORIGINS = ['http://localhost:8000'] -ACCOUNT_USER_DISPLAY = lambda user: user.username.replace(".", "\u2024") - SITE_NAME = 'IANALYZER' HOST = 'localhost:8000'