summaryrefslogtreecommitdiff
path: root/yaksh/demo_templates/demo_settings.py
diff options
context:
space:
mode:
authorprathamesh2017-10-26 14:46:14 +0530
committerprathamesh2017-10-26 14:46:14 +0530
commit8dc6f2c9271e2e2aef9c30594df85af8b24aeeb4 (patch)
treed3c9d2ef6afbfb5307fb2b4b9e867253da98eacf /yaksh/demo_templates/demo_settings.py
parent1f554e7505f5a6aa1b796b2e31e1541188af56da (diff)
parent840c00b9e939d2b33058d236ef4170923e0a018b (diff)
downloadonline_test-8dc6f2c9271e2e2aef9c30594df85af8b24aeeb4.tar.gz
online_test-8dc6f2c9271e2e2aef9c30594df85af8b24aeeb4.tar.bz2
online_test-8dc6f2c9271e2e2aef9c30594df85af8b24aeeb4.zip
Merge branch 'master' of https://github.com/FOSSEE/online_test into detailed_csv_download_quiz
RESOLVED Conflicts: yaksh/test_models.py
Diffstat (limited to 'yaksh/demo_templates/demo_settings.py')
-rw-r--r--yaksh/demo_templates/demo_settings.py29
1 files changed, 29 insertions, 0 deletions
diff --git a/yaksh/demo_templates/demo_settings.py b/yaksh/demo_templates/demo_settings.py
index 3c38794..6089be5 100644
--- a/yaksh/demo_templates/demo_settings.py
+++ b/yaksh/demo_templates/demo_settings.py
@@ -111,6 +111,35 @@ EMAIL_PORT = 'your_email_port'
EMAIL_HOST_USER = 'email_host_user'
+EMAIL_HOST_PASSWORD = 'email_host_password'
+
+# Set EMAIL_BACKEND to 'django.core.mail.backends.smtp.EmailBackend'
+# in production
+EMAIL_BACKEND = 'django.core.mail.backends.dummy.EmailBackend'
+
+# SENDER_EMAIL, REPLY_EMAIL, PRODUCTION_URL, IS_DEVELOPMENT are used in email
+# verification. Set the variables accordingly to avoid errors in production
+
+# This email id will be used as <from address> for sending emails.
+# For example no_reply@<your_organization>.in can be used.
+SENDER_EMAIL = 'your_email'
+
+# Organisation/Indivudual Name.
+SENDER_NAME = 'your_name'
+
+# This email id will be used by users to send their queries
+# For example queries@<your_organization>.in can be used.
+REPLY_EMAIL = 'your_reply_email'
+
+# This url will be used in email verification to create activation link.
+# Add your hosted url to this variable.
+# For example https://127.0.0.1:8000 or 127.0.0.1:8000
+PRODUCTION_URL = 'your_project_url'
+
+# Set this variable to <False> once the project is in production.
+# If this variable is kept <True> in production, email will not be verified.
+IS_DEVELOPMENT = True
+
DEFAULT_FROM_EMAIL = EMAIL_HOST_USER
TEMPLATES = [