Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Use console backend during development

Roland Geiderdde6bee81a61
diff --git a/wger/settings.tpl b/wger/settings.tpl
index 45f7673d5..a68fc87e1 100644
--- a/wger/settings.tpl
+++ b/wger/settings.tpl
@@ -38,10 +38,6 @@ NOCAPTCHA = True
SITE_URL = '{siteurl}'
BROWSERID_AUDIENCES = [SITE_URL]
-# This might be a good idea if you setup memcached
-#SESSION_ENGINE = "django.contrib.sessions.backends.cache"
-
-
# Path to uploaded files
# Absolute filesystem path to the directory that will hold user-uploaded files.
MEDIA_ROOT = {media_folder_path}
@@ -53,3 +49,10 @@ if DEBUG:
# Allow all hosts to access the application. Change if used in production.
ALLOWED_HOSTS = '*'
+
+# This might be a good idea if you setup memcached
+#SESSION_ENGINE = "django.contrib.sessions.backends.cache"
+
+# Configure a real backend in production
+if DEBUG:
+ EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
\ No newline at end of file