Browse Source

Set default date format

pull/11/merge
Edward Ribeiro 9 years ago
parent
commit
a3ecbbbc88
  1. 2
      parlamentares/views.py
  2. 2
      sapl/settings.py

2
parlamentares/views.py

@ -85,7 +85,7 @@ parlamentar_crud = build_crud(
[('municipio_residencia', 12)],
[('telefone_residencia', 6), ('fax_residencia', 6)],
[('locais_atuacao', 12)],
# [('fotografia', 12)],
[('fotografia', 12)],
[('biografia', 12)]],
])

2
sapl/settings.py

@ -119,6 +119,8 @@ USE_L10N = False
USE_TZ = True
# DATE_FORMAT = 'N j, Y'
DATE_FORMAT = 'd/m/Y'
SHORT_DATE_FORMAT='d/m/Y'
DATE_INPUT_FORMATS = ('%d/%m/%Y', '%m-%d-%Y', '%Y-%m-%d')
LOCALE_PATHS = (
'locale',

Loading…
Cancel
Save