From 6d8770e2380ccae8f4e3a583f92abe1428f46723 Mon Sep 17 00:00:00 2001 From: Michael Hall Date: Sun, 15 Jul 2018 15:57:16 -0400 Subject: [PATCH] Include database and email settings in local_settings.example --- local_settings.example | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/local_settings.example b/local_settings.example index 615a0ec..47871cd 100644 --- a/local_settings.example +++ b/local_settings.example @@ -5,6 +5,25 @@ ALLOWED_HOSTS = ['127.0.0.1', 'localhost', 'dev.gettogether.community'] STATIC_ROOT = './static' MEDIA_ROOT = './media' +# DATABASES = { +# 'default': { +# 'ENGINE': 'django.db.backends.postgresql_psycopg2', +# 'NAME': 'xxxxx', +# 'USER': 'xxxxx', +# 'PASSWORD': 'xxxxx', +# 'HOST': 'localhost', +# 'PORT': '' +# } +#} + +# Configure outgoing email. Use console output in development environments +EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' +# EMAIL_USE_TLS = True +# EMAIL_HOST = 'you.smtp.host.com' +# EMAIL_PORT = 587 +# EMAIL_HOST_USER = 'xxxxx' +# EMAIL_HOST_PASSWORD = 'xxxxx' + # SOCIAL_AUTH_GITHUB_KEY = 'xxxxx' # SOCIAL_AUTH_GITHUB_SECRET = 'xxxxx' @@ -26,7 +45,5 @@ MEDIA_ROOT = './media' # If set, will include Google Analytics javascript in pages # GOOGLE_ANALYTICS_ID='U-000000' -# EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' - # Free Geoip lookup from ipstack.com still requires an access token # IPSTACK_ACCESS_KEY = 'xxxxx'