Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
go
Commits
764d9180
Commit
764d9180
authored
Apr 09, 2016
by
David Haynes
🙆
Browse files
Abstract domain s/t you can email people other than mason
- useful for open source purposes
parent
c1e9a56c
Changes
1
Hide whitespace changes
Inline
Side-by-side
go/settings/settings.py.template
View file @
764d9180
# Create a new file 'settings.py' and copy these contents into that file
# Create a new file 'settings.py' and copy these contents into that file
import secret
import secret
import os
import os
...
@@ -91,20 +89,18 @@ ROOT_URLCONF = 'settings.urls'
...
@@ -91,20 +89,18 @@ ROOT_URLCONF = 'settings.urls'
WSGI_APPLICATION = 'settings.wsgi.application'
WSGI_APPLICATION = 'settings.wsgi.application'
INSTALLED_APPS = (
INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.staticfiles',
# 'django.contrib.comments',
'go',
'go',
'piwik',
'piwik',
'django.contrib.admin',
'django.contrib.admin',
'qrcode',
'qrcode',
'captcha',
'crispy_forms',
'crispy_forms',
# Uncomment the next line to enable admin documentation:
# 'django.contrib.admindocs',
)
)
SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
...
@@ -198,3 +194,7 @@ EMAIL_HOST_USER = secret.EMAIL_HOST_USER
...
@@ -198,3 +194,7 @@ EMAIL_HOST_USER = secret.EMAIL_HOST_USER
EMAIL_HOST_PASSWORD = secret.EMAIL_HOST_PASSWORD
EMAIL_HOST_PASSWORD = secret.EMAIL_HOST_PASSWORD
EMAIL_FROM = "example@example.com"
EMAIL_FROM = "example@example.com"
EMAIL_TO = "to@example.com"
EMAIL_TO = "to@example.com"
# Domain used to email to users. See line 231 in views.py
# ie. in Mason's case '@masonlive.gmu.edu'
EMAIL_DOMAIN = "@example.com"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment