project/scipycon/registration/views.py
changeset 231 839dd1745ad2
parent 202 b4391b3d5fcc
child 233 394576ff8a2f
equal deleted inserted replaced
230:9649b07aa4c8 231:839dd1745ad2
   245             reg.save()
   245             reg.save()
   246 
   246 
   247             wifi = wifi_form.save(registrant, scope_entity)
   247             wifi = wifi_form.save(registrant, scope_entity)
   248             acco = acco_form.save(registrant, scope_entity)
   248             acco = acco_form.save(registrant, scope_entity)
   249 
   249 
   250             send_confirmation(registrant, scope_entity,password=passwd)
   250             send_confirmation(registrant, scope_entity, password=passwd)
   251 
   251 
   252             redirect_to = reverse('scipycon_registrations',
   252             redirect_to = reverse('scipycon_registrations',
   253                                   kwargs={'scope': scope})
   253                                   kwargs={'scope': scope})
   254             return set_message_cookie(redirect_to,
   254             return set_message_cookie(redirect_to,
   255                     msg = u'Thank you, your registration has been submitted '\
   255                     msg = u'Thank you, your registration has been submitted '\