Commit a47c6da8 by Juan Diego Caballero

Revert "Email Notifications Implementation"

This reverts commit 700bb6e9.
parent 700bb6e9
......@@ -18,11 +18,6 @@ ENABLE_ADMIN = getattr(django_settings, "NOTIFY_ENABLE_ADMIN", False)
# to a proper SMTP server, just leave it off...
SEND_EMAILS = getattr(django_settings, "NOTIFY_SEND_EMAILS", False)
DEFAULT_EMAIL = 'notifications@django-wiki.org'
#NOTIFY_SLEEP_TIME must be greater than 0 to allow for Garbage Collection
NOTIFY_SLEEP_TIME = 10
# You can always make up more numbers... they simply identify which notifications
# to send when invoking the script, and the number indicates how many hours
# to minimum pass between each notification.
......@@ -32,11 +27,12 @@ DAILY = 24-1 # Subtract 1, because the job finishes less than 24h before the nex
WEEKLY = 7*24-1
INTERVALS = getattr(django_settings, "NOTIFY_INTERVALS",
[(INSTANTLY, _(u'instant')),
[(INSTANTLY, _(u'instantly')),
(DAILY, _(u'daily')),
(WEEKLY, _(u'weekly'))])
INTERVALS_DEFAULT = INSTANTLY
# Minimum logging and digital garbage! Don't save too much crap!
# After how many days should viewed notifications be deleted?
......
......@@ -4,8 +4,6 @@ PROJECT_PATH = os_path.abspath(os_path.split(__file__)[0])
DEBUG = True
TEMPLATE_DEBUG = DEBUG
EMAIL_BACKEND = 'django.core.mail.backends.filebased.EmailBackend'
EMAIL_FILE_PATH = '%s/app-messages' %(PROJECT_PATH) # change this to a proper location
ADMINS = (
# ('Your Name', 'your_email@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