Rename created variable name to acco_created for acco object creation in edit registration view function. payments
authorMadhusudan.C.S <madhusudancs@gmail.com>
Mon, 15 Nov 2010 14:59:13 +0530
branchpayments
changeset 247 2907855f18c4
parent 246 1bd29275df1f
child 248 0fc144c69e84
Rename created variable name to acco_created for acco object creation in edit registration view function.
project/scipycon/registration/views.py
--- a/project/scipycon/registration/views.py	Mon Nov 15 14:07:40 2010 +0530
+++ b/project/scipycon/registration/views.py	Mon Nov 15 14:59:13 2010 +0530
@@ -62,8 +62,8 @@
     # TODO: This is an ugly hack to add accommodation form
     # details at later stage for SciPy.in 2010. This must be
     # removed for SciPy.in 2011
-    acco, created = Accommodation.objects.get_or_create(user=reg.registrant,
-                                                        scope=scope_entity)
+    acco, acco_created = Accommodation.objects.get_or_create(
+        user=reg.registrant, scope=scope_entity)
 
     if reg.registrant != request.user:
         redirect_to = reverse('scipycon_account', kwargs={'scope': scope})