Skip to content
Snippets Groups Projects
Commit 05244c6b authored by Eduardo Klosowski's avatar Eduardo Klosowski
Browse files

Adicionado LANGUAGE_CODE e TIME_ZONE como variáveis de ambiente

parent d69d62d4
No related branches found
No related tags found
No related merge requests found
ALLOWED_HOSTS=
DATABASE_URL=
DEBUG=True
LANGUAGE_CODE=en-us
SECRET_KEY=
TEMPLATE_DEBUG=True
TIME_ZONE=UTC
Loading
Loading
@@ -118,8 +118,8 @@ AUTH_PASSWORD_VALIDATORS = [
# Internationalization
# https://docs.djangoproject.com/en/1.9/topics/i18n/
 
LANGUAGE_CODE = 'en-us'
TIME_ZONE = 'UTC'
LANGUAGE_CODE = os.environ.get('LANGUAGE_CODE', 'en-us')
TIME_ZONE = os.environ.get('TIME_ZONE', 'UTC')
USE_I18N = True
USE_L10N = True
USE_TZ = True
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment