urllib.urlencode() should be used to quote the parameter
If Directory() is processed after DirectorySubmitHandler() you can
NEVER get the merchandise_type variable.
And it is possibly handled in another app instance.
dir_type = merchandise_type # remove this line
dir_type is never used in DirectorySubmitHandler()
------------------------------------
import urllib
self.redirect("/dir?%s" % urllib.urlencode({ 'type' :
self.request.get("dir_type") } )
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.