Changeset 524b81e for remit/vouchers/views.py
- Timestamp:
- Feb 9, 2010, 4:09:59 AM (15 years ago)
- Branches:
- master, client
- Children:
- 6054f18
- Parents:
- a9d44e0
- git-author:
- Alex Dehnert <adehnert@…> (02/09/10 04:09:59)
- git-committer:
- Alex Dehnert <adehnert@…> (02/09/10 04:09:59)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
remit/vouchers/views.py
ra9d44e0 r524b81e 232 232 response = render_to_response('vouchers/vouchers.tex', context, context_instance=RequestContext(http_request), ) 233 233 234 # Send mail 235 tmpl = get_template('vouchers/vouchers_tex_email.txt') 236 ctx = Context({ 237 'converter': http_request.user, 238 'vouchers': lst, 239 'mark': mark, 240 'unprocessed': unprocessed, 241 }) 242 body = tmpl.render(ctx) 243 mail_admins( 244 'Voucher rendering: %d by %s' % ( 245 len(lst), 246 http_request.user, 247 ), 248 body, 249 ) 250 234 251 if mark: 235 252 for voucher in lst:
Note: See TracChangeset
for help on using the changeset viewer.