Replaced context.update call to simple value assignment in site.user.profile.create view function.
authorPawel Solyga <Pawel.Solyga@gmail.com>
Tue, 30 Sep 2008 12:47:05 +0000
changeset 210 d05444cf4641
parent 209 4ba836d74829
child 211 ec26682053df
Replaced context.update call to simple value assignment in site.user.profile.create view function.
app/soc/views/site/user/profile.py
--- a/app/soc/views/site/user/profile.py	Mon Sep 29 17:22:31 2008 +0000
+++ b/app/soc/views/site/user/profile.py	Tue Sep 30 12:47:05 2008 +0000
@@ -412,6 +412,6 @@
     # no link name specified, so start with an empty form
     form = CreateForm()
 
-  context.update({'form': form})
+  context['form'] = form
 
   return response_helpers.respond(request, template, context)
\ No newline at end of file