Changeset 5f09392


Ignore:
Timestamp:
Aug 26, 2011, 2:04:56 AM (15 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, space-access, stable, stage, test-hooks
Children:
8439bf6
Parents:
9b391ce
git-author:
Alex Dehnert <adehnert@…> (08/26/11 02:04:17)
git-committer:
Alex Dehnert <adehnert@…> (08/26/11 02:04:56)
Message:

Punted commented email-sending code

We're probably going to do update notifications from cron, so there's no
reason to keep this code around.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • asadb/groups/views.py

    r9b391ce r5f09392  
    174174            request_obj.save()
    175175            form.save_m2m()
    176 
    177             # Send email
    178             #tmpl = get_template('fysm/update_email.txt')
    179             #ctx = Context({
    180             #    'group': group_obj,
    181             #    'fysm': fysm_obj,
    182             #    'view_uri': view_uri,
    183             #    'submitter': request.user,
    184             #    'request': request,
    185             #    'sender': "ASA FYSM team",
    186             #})
    187             #body = tmpl.render(ctx)
    188             #email = EmailMessage(
    189             #    subject='FYSM entry for "%s" updated by "%s"' % (
    190             #        group_obj.name,
    191             #        request.user,
    192             #    ),
    193             #    body=body,
    194             #    from_email='asa-fysm@mit.edu',
    195             #    to=[group_obj.officer_email, request.user.email, ],
    196             #    bcc=['asa-fysm-submissions@mit.edu', ]
    197             #)
    198             #email.send()
    199176            msg = "Thanks for editing!"
    200177        else:
Note: See TracChangeset for help on using the changeset viewer.