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 model_mommy
django-admin-bootstrapped django-admin-bootstrapped
django-bootstrap3 django-bootstrap3
pytz
ipdb ipdb
django-extensions django-extensions

9
sapl/settings.py

@ -117,15 +117,10 @@ DATABASE_ROUTERS = ['legacy.router.LegacyRouter', ]
# Internationalization # Internationalization
# https://docs.djangoproject.com/en/1.8/topics/i18n/ # https://docs.djangoproject.com/en/1.8/topics/i18n/
LANGUAGE_CODE = 'pt-br'
LANGUAGE_CODE = 'en-us' TIME_ZONE = 'America/Sao_Paulo'
TIME_ZONE = 'UTC'
USE_I18N = True USE_I18N = True
USE_L10N = True USE_L10N = True
USE_TZ = True USE_TZ = True

Loading…
Cancel
Save