From a4de0324950a64eec73c77807377fc6d52d2f38c Mon Sep 17 00:00:00 2001 From: Marcio Mazza Date: Sun, 21 Jun 2015 10:32:49 -0300 Subject: [PATCH] Set lang and default timezone --- requirements.txt | 1 + sapl/settings.py | 9 ++------- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/requirements.txt b/requirements.txt index 7e289c97e..785cf1781 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,6 +5,7 @@ beautifulsoup4 model_mommy django-admin-bootstrapped django-bootstrap3 +pytz ipdb django-extensions diff --git a/sapl/settings.py b/sapl/settings.py index 7960b04e2..73927865f 100644 --- a/sapl/settings.py +++ b/sapl/settings.py @@ -117,15 +117,10 @@ DATABASE_ROUTERS = ['legacy.router.LegacyRouter', ] # Internationalization # https://docs.djangoproject.com/en/1.8/topics/i18n/ - -LANGUAGE_CODE = 'en-us' - -TIME_ZONE = 'UTC' - +LANGUAGE_CODE = 'pt-br' +TIME_ZONE = 'America/Sao_Paulo' USE_I18N = True - USE_L10N = True - USE_TZ = True