summaryrefslogtreecommitdiffstats
path: root/settings.py
diff options
context:
space:
mode:
authorGiancarlo Razzolini <grazzolini@archlinux.org>2019-10-25 14:06:52 -0300
committerGiancarlo Razzolini <grazzolini@archlinux.org>2019-10-25 14:06:52 -0300
commit4120191306c31dac18817244cb91697638e2d738 (patch)
treee033da7a41cdc2ac197fbf34e4e05f6799cace17 /settings.py
parentc292bdd05d9205c3b1123a6c7f1a91dde7c0ebfd (diff)
downloadarchweb-4120191306c31dac18817244cb91697638e2d738.tar.gz
archweb-4120191306c31dac18817244cb91697638e2d738.zip
news: Change the news app to use the EmailMessage class to be able to include the mailman password
Due to spamming to arch-announce mail list, we now use a poster password to make sure only authorized emails are allowed through to the list.
Diffstat (limited to 'settings.py')
-rw-r--r--settings.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/settings.py b/settings.py
index e91b5aa6..3201f218 100644
--- a/settings.py
+++ b/settings.py
@@ -178,6 +178,9 @@ COUNTRIES_OVERRIDE = {
# Make this unique, and don't share it with anybody.
SECRET_KEY = '00000000000000000000000000000000000000000000000'
+# Mailman poster password for announcements
+MAILMAN_PASSWORD = ''
+
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',