diff --git a/tom_base/formats/__init__.py b/tom_base/formats/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/tom_base/formats/en/__init__.py b/tom_base/formats/en/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/tom_base/formats/en/formats.py b/tom_base/formats/en/formats.py new file mode 100644 index 000000000..9f0966c96 --- /dev/null +++ b/tom_base/formats/en/formats.py @@ -0,0 +1,2 @@ +DATETIME_FORMAT = 'Y-m-d H:i:s' +DATE_FORMAT = 'Y-m-d' diff --git a/tom_base/settings.py b/tom_base/settings.py index f37fe83a7..93c05025f 100644 --- a/tom_base/settings.py +++ b/tom_base/settings.py @@ -121,13 +121,9 @@ USE_I18N = True -USE_L10N = False - USE_TZ = True -DATETIME_FORMAT = 'Y-m-d H:i:s' -DATE_FORMAT = 'Y-m-d' - +FORMAT_MODULE_PATH = 'tom_base.formats' # Caching # https://docs.djangoproject.com/en/dev/topics/cache/#filesystem-caching