Skip to content

Commit

Permalink
render(Context()) is deprecated, use dict
Browse files Browse the repository at this point in the history
  • Loading branch information
mjschultz committed Apr 21, 2016
1 parent 31c89fd commit 619653e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion inviter2/utils.py
Expand Up @@ -50,7 +50,6 @@ def send_invite(invitee, inviter, url=None, opt_out_url=None, **kwargs):
ctx.update(kwargs)
ctx.update(url=url)
ctx.update(opt_out_url=opt_out_url)
ctx = template.Context(ctx)

subject_template = kwargs.pop('subject_template',
'inviter2/email/subject.txt')
Expand Down

0 comments on commit 619653e

Please sign in to comment.