project/scipycon/registration/views.py
branchpayments
changeset 247 2907855f18c4
parent 202 b4391b3d5fcc
child 251 b99607287a52
--- 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})