Skip to content

Commit

Permalink
feat(#2737): Rename locale to formats due to name conflict with P…
Browse files Browse the repository at this point in the history
…ython stdlib
  • Loading branch information
pbanaszkiewicz committed Feb 16, 2025
1 parent 53bad10 commit 85822ef
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

from django.core.exceptions import ImproperlyConfigured
from django.utils.translation import gettext_lazy as _
import environ
import environ # type: ignore
import jinja2

ROOT_DIR = Path(__file__).parent.parent # amy/
Expand Down Expand Up @@ -68,7 +68,7 @@
# https://docs.djangoproject.com/en/dev/ref/settings/#use-tz
USE_TZ = True
# https://docs.djangoproject.com/en/dev/ref/settings/#std-setting-FORMAT_MODULE_PATH
FORMAT_MODULE_PATH = ["amy.locale"]
FORMAT_MODULE_PATH = "amy.formats"
# Secret key must be kept secret
DEFAULT_SECRET_KEY = "3l$35+@a%g!(^y^98oi%ei+%+yvtl3y0k^_7-fmx2oj09-ac5@"
SECRET_KEY = env.str("AMY_SECRET_KEY", default=DEFAULT_SECRET_KEY) # type: ignore
Expand Down

0 comments on commit 85822ef

Please sign in to comment.