diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 69b126e5..69fad3f7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,7 +22,7 @@ repos: hooks: - id: isort - repo: https://github.com/psf/black - rev: 23.12.1 + rev: 24.1.1 hooks: - id: black - repo: https://github.com/astral-sh/ruff-pre-commit diff --git a/djangocms_blog/settings.py b/djangocms_blog/settings.py index fe135dad..b365015c 100644 --- a/djangocms_blog/settings.py +++ b/djangocms_blog/settings.py @@ -1,6 +1,7 @@ """ List of settings that can be set in project django settings. """ + from django.utils.translation import gettext_lazy as _ from meta import settings as meta_settings