#22897 closed Cleanup/optimization (fixed)
Make query_string argument to QueryDict optional
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | HTTP handling | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Previously, a blank QueryDict could be created by calling
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
Change History (3)
comment:1 by , 11 years ago
Summary: | Made query_string argument to QueryDict optional → Make query_string argument to QueryDict optional |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:2 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In d68987ae25f0e0fb30727473803758af53d75671: