Opened 13 years ago
Closed 13 years ago
#17163 closed New feature (fixed)
Add NamedUrlWizardView.get_step_url
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | contrib.formtools | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
I propose that a method get_step_url
should be added to NamedUrlWizardView
. This hook would allow wizard URLs to contain more than just step
. This would tie in nicely with #17162
Attachments (1)
Change History (7)
by , 13 years ago
Attachment: | 17163.diff added |
---|
comment:1 by , 13 years ago
Easy pickings: | set |
---|---|
Has patch: | set |
comment:2 by , 13 years ago
Triage Stage: | Unreviewed → Design decision needed |
---|
comment:3 by , 13 years ago
In my case I want to be able to save multiple instances of the wizard (think drafts) that the user can come back to. For this I have URL parameter that identifies which draft to use. Currently this would require rewriting a lot of the methods in the view class.
comment:4 by , 13 years ago
Triage Stage: | Design decision needed → Accepted |
---|
comment:5 by , 13 years ago
Triage Stage: | Accepted → Ready for checkin |
---|
Note:
See TracTickets
for help on using tickets.
The proposal is sensible, but I'm not sure that this level of customizability is really useful.
Could you provide an example where reversing an URL with
step
as argument isn't sufficient?