project/scipycon/registration/views.py
changeset 233 394576ff8a2f
parent 231 839dd1745ad2
child 238 0149f28a4f74
child 273 5129e1427557
equal deleted inserted replaced
232:6311e71ae54c 233:394576ff8a2f
    54     """Allows users that submitted a registration to edit it.
    54     """Allows users that submitted a registration to edit it.
    55     """
    55     """
    56 
    56 
    57     scope_entity = Event.objects.get(scope=scope)
    57     scope_entity = Event.objects.get(scope=scope)
    58 
    58 
    59     reg = Registration.objects.get(pk=id)
    59     reg = Registration.objects.get(pk=int(id))
    60     wifi = Wifi.objects.get(user=reg.registrant)
    60     wifi = Wifi.objects.get(user=reg.registrant)
    61 
    61 
    62     # TODO: This is an ugly hack to add accommodation form
    62     # TODO: This is an ugly hack to add accommodation form
    63     # details at later stage for SciPy.in 2010. This must be
    63     # details at later stage for SciPy.in 2010. This must be
    64     # removed for SciPy.in 2011
    64     # removed for SciPy.in 2011