Opened 7 years ago
Closed 7 years ago
#28910 closed New feature (duplicate)
Add a way to add query strings to reverse_lazy()
Reported by: | Sina | Owned by: | Sina |
---|---|---|---|
Component: | Core (URLs) | Version: | 2.0 |
Severity: | Normal | Keywords: | urls |
Cc: | sharifzadesina@… | Triage Stage: | Unreviewed |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Hi
How can I add query strings to a lazy url reverser?
some thing like this:
reverse_lazy('home', query={test: 'hi'})
so this will compile to: /home?test=hi
This is a MUST have feature at least for lazy reversers I don't know why django doesn't have this!!!
Change History (2)
comment:1 by , 7 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 7 years ago
Resolution: | → duplicate |
---|---|
Status: | assigned → closed |
Summary: | Adding query strings to django.urls.reverse_lazy? → Add a way to add query strings to reverse_lazy() |
Note:
See TracTickets
for help on using tickets.
Duplicate of #25582.