Permalink
Browse files

Added better email local_settings

  • Loading branch information...
1 parent cfdafc2 commit 2f4d4286ac688b9b5377468d0379ff761fce1d2a @mbrochh mbrochh committed Apr 14, 2012
@@ -39,19 +39,20 @@ DATABASES = {
# ===============
# Email settings
# ===============
-FROM_EMAIL = "info@example.com"
+FROM_EMAIL = "projectname <info@example.com>"
DEFAULT_FROM_EMAIL = FROM_EMAIL
SERVER_EMAIL = FROM_EMAIL
-EMAIL_SUBJECT_PREFIX = '[yourproject] '
+EMAIL_SUBJECT_PREFIX = '[projectname] '
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
#EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
#EMAIL_HOST = 'smtp.webfaction.com'
#EMAIL_HOST_USER = ""
#EMAIL_HOST_PASSWORD = ""
#EMAIL_USE_TLS = True
#EMAIL_PORT = 25
+
ADMINS = (
- ('yourname', 'info@example.com'),
+ ('yourname', 'yourname@gmail.com'),
)
MANAGERS = ADMINS

0 comments on commit 2f4d428

Please sign in to comment.