# HG changeset patch # User Madhusudan.C.S # Date 1289813353 -19800 # Node ID 2907855f18c442195d9113eed72c0a38f2041010 # Parent 1bd29275df1f67c797c49d69290296fa4c440802 Rename created variable name to acco_created for acco object creation in edit registration view function. diff -r 1bd29275df1f -r 2907855f18c4 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})