project/scipycon/registration/views.py
changeset 233 394576ff8a2f
parent 231 839dd1745ad2
child 238 0149f28a4f74
child 273 5129e1427557
--- a/project/scipycon/registration/views.py	Mon Nov 15 19:28:57 2010 +0530
+++ b/project/scipycon/registration/views.py	Tue Nov 16 18:09:55 2010 +0530
@@ -56,7 +56,7 @@
 
     scope_entity = Event.objects.get(scope=scope)
 
-    reg = Registration.objects.get(pk=id)
+    reg = Registration.objects.get(pk=int(id))
     wifi = Wifi.objects.get(user=reg.registrant)
 
     # TODO: This is an ugly hack to add accommodation form