diff --git a/parlamentares/views.py b/parlamentares/views.py index 2b588d34e..cdeafe92a 100644 --- a/parlamentares/views.py +++ b/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)]], ]) diff --git a/sapl/settings.py b/sapl/settings.py index fc16d2d82..96df29e84 100644 --- a/sapl/settings.py +++ b/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',