`QueryDict(str(''))` or `QueryDict(None)`
It seems rather nicer to just allow the query_string argument to
default to None so that we can just write QueryDict().
It's a commit in https://github.com/django/django/pull/2778
--
Ticket URL: <https://code.djangoproject.com/ticket/22897>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/22897#comment:1>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"d68987ae25f0e0fb30727473803758af53d75671"]:
{{{
#!CommitTicketReference repository=""
revision="d68987ae25f0e0fb30727473803758af53d75671"
Fixed #22897 -- Made QueryDict query_string argument optional.
Now QueryDict() is equivalent to QueryDict('') or QueryDict(None).
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/22897#comment:2>
Comment (by Tim Graham <timograham@…>):
In [changeset:"ead21a1949e408cf37226049559d0e71e3fdff6d" ead21a1]:
{{{
#!CommitTicketReference repository=""
revision="ead21a1949e408cf37226049559d0e71e3fdff6d"
Refs #22897 -- Removed unneeded empty string QueryDict argument.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/22897#comment:3>