semicolon separated parameter gets inaccessible in QueryDict

2010-08-26 Thread k4rlchen
is: When I do request.POST.getlists('asdf') I only get the first of the values: [u'1'] What can I do? Stefan -- View this message in context: http://old.nabble.com/semicolon-separated-parameter-gets-inaccessible-in-QueryDict-tp29539791p29539791.html Sent from the django-users mailing l

Re: semicolon separated parameter gets inaccessible in QueryDict

2010-08-26 Thread Łukasz Rekucki
Hi, On 26 August 2010 09:56, k4rlchen wrote: > GET /order?asdf=1;2;3;4; In terms of HTTP this query is the same as: GET /order?asdf=1&2&3&4& and Django parses quesry strings accordingly to the HTTP specification. This is consitent with cgi.parse_qs(), so you should probably fix your application.

Re: semicolon separated parameter gets inaccessible in QueryDict

2010-08-26 Thread k4rlchen
ses cgi.FieldStorage() , which works with this. Any posibility to use a regular expression to replace the semicolon before the QueryDict is created?. Cheers Stefan -- View this message in context: http://old.nabble.com/semicolon-separated-parameter-gets-inaccessible-in-QueryDict-tp29539791p29540697.h

Re: semicolon separated parameter gets inaccessible in QueryDict

2010-08-26 Thread Tom Evans
On Thu, Aug 26, 2010 at 11:01 AM, k4rlchen wrote: > > Thanks Łukasz, > > unfortunatly, the application is in use for 10 years and delivered to > 300 > mobile computers. > A change of application would mean a big scale operation. > > I was not 100% correct describing the matter. The values are not

Re: semicolon separated parameter gets inaccessible in QueryDict

2010-08-26 Thread bruno desthuilliers
On 26 août, 12:01, k4rlchen wrote: > Thanks Łukasz, > > unfortunatly, the application is in use for 10 years and delivered to > 300 > mobile computers. > A change of application would mean a big scale operation. > > I was not 100% correct describing the matter. The values are not passed via > url

Re: semicolon separated parameter gets inaccessible in QueryDict

2010-08-26 Thread k4rlchen
Thank you Bruno, it didn't work "copy 'n paste' but lead me to the solution! -- View this message in context: http://old.nabble.com/semicolon-separated-parameter-gets-inaccessible-in-QueryDict-tp29539791p29542413.html Sent from the django-users mailing list archive at

Re: semicolon separated parameter gets inaccessible in QueryDict

2010-08-26 Thread bruno desthuilliers
On 26 août, 15:28, k4rlchen wrote: > Thank you Bruno, > > it didn't work "copy 'n paste' Code typed directly in googlegroups and working right OOTB ? Now _this_ would have been a very unexpected accident !-) > but lead me to the solution! Fine. -- You received this message because you are s