diff options
author | Dan McGee <dan@archlinux.org> | 2011-04-09 16:29:02 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-04-09 16:34:10 -0500 |
commit | 842f59d018947ca696cf116e9d1591f2ad83f8a7 (patch) | |
tree | 3a2039605b4eca878f8c9d923aa0c18103db0a84 /devel/views.py | |
parent | 12ff807338ccdff8f46f0d430f6b0dd56afc09bd (diff) |
Rename local variables for clarity
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'devel/views.py')
-rw-r--r-- | devel/views.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/devel/views.py b/devel/views.py index a83c3bbc..cb0ff056 100644 --- a/devel/views.py +++ b/devel/views.py @@ -165,15 +165,15 @@ class NewUserForm(forms.ModelForm): profile.save() self.save_m2m() - t = loader.get_template('devel/new_account.txt') - c = Context({ + template = loader.get_template('devel/new_account.txt') + ctx = Context({ 'site': Site.objects.get_current(), 'user': user, 'password': password, }) send_mail("Your new archweb account", - t.render(c), + template.render(ctx), 'Arch Website Notification <nobody@archlinux.org>', [user.email], fail_silently=False) |