File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed
Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 1010https://docs.djangoproject.com/en/2.0/ref/settings/
1111"""
1212
13- from .local_settings import *
13+ try :
14+ from .local_settings import *
15+ except ImportError :
16+ pass
1417
1518# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
1619import os
1720
1821PROJECT_DIR = os .path .dirname (os .path .dirname (os .path .abspath (__file__ )))
1922BASE_DIR = os .path .dirname (PROJECT_DIR )
2023
24+ # Email Configuration
25+ EMAIL_USE_TLS = True
26+ EMAIL_HOST = 'smtp.gmail.com'
27+ EMAIL_HOST_USER = ''
28+ EMAIL_HOST_PASSWORD = ''
29+ EMAIL_PORT = 587
2130
2231# Quick-start development settings - unsuitable for production
2332# See https://docs.djangoproject.com/en/2.0/howto/deployment/checklist/
2938 'search' ,
3039 'blog' ,
3140 'newsletter' ,
41+ 'enquiry' ,
3242
3343 'wagtail.contrib.forms' ,
3444 'wagtail.contrib.redirects' ,
5161 'django.contrib.sessions' ,
5262 'django.contrib.messages' ,
5363 'django.contrib.staticfiles' ,
64+ 'crispy_forms' ,
5465]
5566
5667MIDDLEWARE = [
161172MEDIA_ROOT = os .path .join (BASE_DIR , 'media' )
162173MEDIA_URL = '/media/'
163174
175+ # Mailchimp
176+ MAILCHIMP_API_KEY = ''
177+ MAILCHIMP_SUBSCRIBE_LIST_ID = ''
164178
165179# Wagtail settings
166180
You can’t perform that action at this time.
0 commit comments