Changeset ea217bd
- Timestamp:
- Nov 12, 2011, 4:05:03 AM (14 years ago)
- Branches:
- master, space-access, stable, stage, test-hooks
- Children:
- 712067b
- Parents:
- 4098256
- git-author:
- Alex Dehnert <adehnert@…> (11/12/11 04:04:29)
- git-committer:
- Alex Dehnert <adehnert@…> (11/12/11 04:05:03)
- Location:
- asadb
- Files:
-
- 3 edited
-
groups/diffs.py (modified) (2 diffs)
-
settings.py (modified) (1 diff)
-
template/groups/diffs/asa-official-update.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
asadb/groups/diffs.py
r4098256 rea217bd 29 29 update_constitution_archive = 'asa-db@mit.edu' 30 30 31 asa_all_groups_list = util.mailman.MailmanList('asa-official') 32 asa_all_groups_list = util.mailman.MailmanList('asa-test-mailman') 31 if settings.PRODUCTION_DEPLOYMENT: 32 asa_all_groups_list = util.mailman.MailmanList('asa-official') 33 else: 34 asa_all_groups_list = util.mailman.MailmanList('asa-test-mailman') 33 35 34 36 class DiffCallback(object): … … 139 141 subject = "ERROR: " + subject 140 142 context = { 143 'listname': asa_all_groups_list.name, 141 144 'add': self.add, 142 145 'delete': self.delete, -
asadb/settings.py
r4da2aeb rea217bd 8 8 DEBUG = False 9 9 TEMPLATE_DEBUG = DEBUG 10 11 # Is this the main, production deployment? 12 # If not, we won't try to propagate things to other systems. 13 # (For example, no changing asa-official membership.) 14 PRODUCTION_DEPLOYMENT = False 10 15 11 16 ADMINS = ( -
asadb/template/groups/diffs/asa-official-update.txt
r4098256 rea217bd 1 1 {% autoescape off %} 2 We tried to add the following {{add|length}} addresses to asa-official, and remove the following {{delete|length}} addresses.{%if errors%} Some errors occurred.{%endif%}2 We tried to add the following {{add|length}} addresses to {{listname}}, and remove the following {{delete|length}} addresses.{%if errors%} Some errors occurred.{%endif%} 3 3 4 4 Errors:
Note: See TracChangeset
for help on using the changeset viewer.