Skip to content
Snippets Groups Projects
Verified Commit 5040465e authored by Pinguin's avatar Pinguin :penguin: Committed by Jonathan Weth
Browse files

Add internationalisation to the phonenumbers

parent 8aedf7bb
No related branches found
No related tags found
3 merge requests!1237Release 3.0,!1189Resolve "Regional tel format isn't accepted",!1183Release 3.0
......@@ -14,6 +14,7 @@ from .util.core_helpers import (
get_app_settings_overrides,
merge_app_settings,
monkey_patch,
lazy_preference,
)
monkey_patch()
......@@ -555,6 +556,8 @@ LANGUAGE_CODE = _settings.get("l10n.lang", "en")
TIME_ZONE = _settings.get("l10n.tz", "UTC")
USE_TZ = True
PHONENUMBER_DEFAULT_REGION = lazy_preference("internationalisation", "phone_number_country")
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/2.1/howto/static-files/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment