On Oct 21, 2010, at 9:55 AM, Jason Brower wrote: > This gets me pretty close! > I can't put spaces in the field... is there a way to do that? > In the end I will be parsing by space for a search feature I am trying to > implement.
I'd have to look at the code (don't have time right now), but you might try encoding spaces as either %20 or underscore, and see what happens. > Best Regards, > Jason Brower > > On Thu, 2010-10-21 at 07:42 -0700, Jonathan Lundell wrote: >> On Oct 21, 2010, at 1:51 AM, Jason Brower wrote: >>> It was my understanding that you called it as such... >>> request.vars.variable_name >>> So I want it so I can set the variable_name and it would respond with it's >>> contents. >>> >> >> >> request.vars is basically a Python dict, and subject to its rules. >> >> >> So you might want to make it >> >> >> http://127.0.0.1:8000/furniture/default/results?foo=sdfsafsdfa%C3%A4%C3%A4%C3%A4 >> >> >> and refer to request.vars.foo >> >> >> >> >> >>> BR, >>> Jason >>> >>> On Wed, 2010-10-20 at 22:47 -0700, Jonathan Lundell wrote: >>>> On Oct 20, 2010, at 10:34 PM, Jason Brower wrote: >>>>> That works, but how do I load that data? >>>>> >>>> >>>> >>>> What do you want to do with it? It should show up in request.vars, I think. >>>> >>>>> >>>>> On Wed, 2010-10-20 at 19:57 -0700, Jonathan Lundell wrote: >>>>>> On Oct 20, 2010, at 7:52 PM, Jason Brower wrote: >>>>>>> For example, if I put... >>>>>>> http://127.0.0.1:8000/furniture/default/results/sdfsafsdfa%C3%A4%C3%A4%C3%A4 >>>>>>> It will not work and tells me I have an invalid controller. >>>>>>> http://127.0.0.1:8000/furniture/default/results/sdfsafs >>>>>>> Works. >>>>>>> Any solution for this? >>>>>>> >>>>>> >>>>>> >>>>>> Try putting the last part in a query string (vars) and see how that goes: >>>>>> >>>>>> >>>>>> http://127.0.0.1:8000/furniture/default/results?sdfsafsdfa%C3%A4%C3%A4%C3%A4 >>>>>> >>>>>>> BR, >>>>>>> Jason Brower >>>>>>> On Wed, 2010-10-20 at 20:52 +0300, Jason Brower wrote: >>>>>>>> I can see it in google, I can use cär and it works... >>>>>>>> Why or how can I use äöå in that area or is there some other way to >>>>>>>> use it as a parameter when sending data to a page... >>>>>>>> BR, >>>>>>>> Jason Brower >>>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>> >>>> >>>> >>> >>> >> >> >> >

