summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-04-09 16:29:02 -0500
committerDan McGee <dan@archlinux.org>2011-04-09 16:34:10 -0500
commit842f59d018947ca696cf116e9d1591f2ad83f8a7 (patch)
tree3a2039605b4eca878f8c9d923aa0c18103db0a84 /devel
parent12ff807338ccdff8f46f0d430f6b0dd56afc09bd (diff)
Rename local variables for clarity
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'devel')
-rw-r--r--devel/views.py6
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)