Add registration_id field to initial form in the field. south-migration
authorMadhusudan.C.S <madhusudancs@gmail.com>
Thu, 18 Nov 2010 15:02:59 +0530
branchsouth-migration
changeset 273 5129e1427557
parent 272 4801b7adbbc5
child 274 334746111891
Add registration_id field to initial form in the field.
project/scipycon/registration/views.py
--- a/project/scipycon/registration/views.py	Thu Nov 18 15:02:40 2010 +0530
+++ b/project/scipycon/registration/views.py	Thu Nov 18 15:02:59 2010 +0530
@@ -121,7 +121,8 @@
         wifi_form = WifiForm(initial={
             'user': wifi.user,
             'scope': wifi.scope,
-            'wifi': wifi.wifi
+            'wifi': wifi.wifi,
+            'registration_id': wifi.registration_id
             })
         acco_form = AccommodationForm(initial={
             'user': acco.user,