Skip to content

keep_blank_values=True when parsing request.args #1551

@simonw

Description

@simonw

This code in TableView wouldn't be necessary:

# Ensure we don't drop anything with an empty value e.g. ?name__exact=
args = MultiParams(
urllib.parse.parse_qs(request.query_string, keep_blank_values=True)
)

If that happened here instead:

@property
def args(self):
return MultiParams(parse_qs(qs=self.query_string))

Originally posted by @simonw in #1518 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions