Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove DD_USE_L10N #9491

Merged
merged 1 commit into from
Feb 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions dojo/settings/settings.dist.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
DD_LANGUAGE_CODE=(str, 'en-us'),
DD_SITE_ID=(int, 1),
DD_USE_I18N=(bool, True),
DD_USE_L10N=(bool, True),
DD_USE_TZ=(bool, True),
DD_MEDIA_URL=(str, '/media/'),
DD_MEDIA_ROOT=(str, root('media')),
Expand Down Expand Up @@ -345,10 +344,6 @@ def generate_url(scheme, double_slashes, user, password, host, port, path, param
# to load the internationalization machinery.
USE_I18N = env('DD_USE_I18N')

# If you set this to False, Django will not format dates, numbers and
# calendars according to the current locale.
USE_L10N = env('DD_USE_L10N')

# If you set this to False, Django will not use timezone-aware datetimes.
USE_TZ = env('DD_USE_TZ')

Expand Down Expand Up @@ -1665,8 +1660,6 @@ def saml2_attrib_map_format(dict):

EDITABLE_MITIGATED_DATA = env('DD_EDITABLE_MITIGATED_DATA')

USE_L10N = True

# FEATURE_FINDING_GROUPS feature is moved to system_settings, will be removed from settings file
FEATURE_FINDING_GROUPS = env('DD_FEATURE_FINDING_GROUPS')
JIRA_TEMPLATE_ROOT = env('DD_JIRA_TEMPLATE_ROOT')
Expand Down
Loading