diff --git a/config/settings/base.py b/config/settings/base.py index 64facf4..0fa6dad 100644 --- a/config/settings/base.py +++ b/config/settings/base.py @@ -37,6 +37,8 @@ USE_TZ = True # https://docs.djangoproject.com/en/dev/ref/settings/#locale-paths LOCALE_PATHS = [str(ROOT_DIR / "locale")] +# https://docs.djangoproject.com/en/5.0/ref/settings/#std-setting-SILENCED_SYSTEM_CHECKS +SILENCED_SYSTEM_CHECKS = ["slippers.E001"] # DATABASES # ------------------------------------------------------------------------------ @@ -442,6 +444,9 @@ ACCOUNT_ADAPTER = "django_wtf.users.adapters.AccountAdapter" # https://django-allauth.readthedocs.io/en/latest/configuration.html SOCIALACCOUNT_ADAPTER = "django_wtf.users.adapters.SocialAccountAdapter" +# https://github.com/danihodovic/django-allauth-ui?tab=readme-ov-file#configuration +ALLAUTH_UI_THEME = "business" + ACCOUNT_EMAIL_CONFIRMATION_AUTHENTICATED_REDIRECT_URL = reverse_lazy( "core:subscriber-landing" ) diff --git a/poetry.lock b/poetry.lock index d16a741..bacbf70 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1112,13 +1112,13 @@ steam = ["python3-openid (>=3.0.8)"] [[package]] name = "django-allauth-ui" -version = "1.0.0" +version = "1.2.0" description = "" optional = false python-versions = "<4.0.0,>=3.8" files = [ - {file = "django_allauth_ui-1.0.0-py3-none-any.whl", hash = "sha256:bcb0d4b7f677a68fb7e5bf884806f6f72325d21707439d8da7afa7a0a02d5d9b"}, - {file = "django_allauth_ui-1.0.0.tar.gz", hash = "sha256:c19b1138066b9ad25fa7246223f0c861bb6fc883fd4e63559ebd0bd9dbb17ab5"}, + {file = "django_allauth_ui-1.2.0-py3-none-any.whl", hash = "sha256:b45b033b1f0cc991f57440bc14078d1f2c37e377caf5a671588a5e7a5a91542e"}, + {file = "django_allauth_ui-1.2.0.tar.gz", hash = "sha256:8b072715a0bcf90189b3ce720e1a5228ab69ad9b060232d2c477617106ea6f69"}, ] [package.dependencies] @@ -5138,4 +5138,4 @@ testing = ["coverage (>=5.0.3)", "zope.event", "zope.testing"] [metadata] lock-version = "2.0" python-versions = "^3.11" -content-hash = "addcfd5fc67c1e959330d3df477dfb4594db9d0f1f7d585c25e35c817d77aab7" +content-hash = "5ae98fec30495e281524b62192a0f098b14e0454dd486143d5d713848175ea8d" diff --git a/pyproject.toml b/pyproject.toml index 37224d1..5176661 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,7 +21,7 @@ django-debug-toolbar = "^3.2.4" celery = "^5.2.3" Django = "^5.0.6" django-celery-beat = "^2.4.0" -django-allauth-ui = "^1.0.0" +django-allauth-ui = "^1.2.0" django-widget-tweaks = "^1.4.12" redis = "^4.1.3" requests = "^2.27.1"