Commit 764d9180 authored by David Haynes's avatar David Haynes 🙆
Browse files

Abstract domain s/t you can email people other than mason

- useful for open source purposes
parent c1e9a56c
# 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"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment