Skip to content
Open
Show file tree
Hide file tree
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
Empty file added tom_base/formats/__init__.py
Empty file.
Empty file added tom_base/formats/en/__init__.py
Empty file.
2 changes: 2 additions & 0 deletions tom_base/formats/en/formats.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
DATETIME_FORMAT = 'Y-m-d H:i:s'
DATE_FORMAT = 'Y-m-d'
6 changes: 1 addition & 5 deletions tom_base/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading