Re: QueryDict and unicode

2017-10-04 Thread James Schneider
On Oct 2, 2017 1:53 PM, "Alexey Lozickiy" wrote: Hi all, Why is it so that QueryDict for PY3 handles input query string different from PY2 (part of __init__ of QueryDict from Django 1.11.5): if six.PY3: if isinstance(query_string, bytes): # query_string normally contains URL-encoded

QueryDict and unicode

2017-10-02 Thread Alexey Lozickiy
Hi all, Why is it so that QueryDict for PY3 handles input query string different from PY2 (part of __init__ of QueryDict from Django 1.11.5): if six.PY3: if isinstance(query_string, bytes): # query_string normally contains URL-encoded data, a subset of ASCII. try: