Browse Source

Set lang and default timezone

pull/6/head
Marcio Mazza 10 years ago
committed by Marcio Mazza
parent
commit
a4de032495
  1. 1
      requirements.txt
  2. 9
      sapl/settings.py

1
requirements.txt

@ -5,6 +5,7 @@ beautifulsoup4
model_mommy
django-admin-bootstrapped
django-bootstrap3
pytz
ipdb
django-extensions

9
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

Loading…
Cancel
Save