Rename created variable name to acco_created for acco object creation in edit registration view function.
--- 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})