* needs_better_patch: 0 => 1
* needs_tests: 0 => 1
* easy: => 0
Comment:
The attached patch suggests having the cancel action as a link instead of
a button, since its purpose effectively is to navigate back to where you
were. The behaviour would probably also need to be the same as clicking
the browser's back button, that is, the link's `href` would be something
like `"javascript:history.back()"` -- although there could be an issue if
javascript was turned off. Patch still needs some tweaking and some tests.
--
Ticket URL: <https://code.djangoproject.com/ticket/7361#comment:7>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* stage: Design decision needed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/7361#comment:8>
Comment (by jli):
I would like to give this ticket some love, any advice on how to make it
go forward ?
--
Ticket URL: <https://code.djangoproject.com/ticket/7361#comment:9>
Comment (by timo):
@jli, improve the patch as noted in the comment above.
--
Ticket URL: <https://code.djangoproject.com/ticket/7361#comment:10>
* needs_better_patch: 1 => 0
* needs_tests: 1 => 0
Comment:
PR here: https://github.com/django/django/pull/2993
--
Ticket URL: <https://code.djangoproject.com/ticket/7361#comment:11>
* needs_better_patch: 0 => 1
* version: newforms-admin => master
Comment:
Left comments for improvement on PR.
--
Ticket URL: <https://code.djangoproject.com/ticket/7361#comment:12>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"f5cfd09c257e5a4ed6d01d32505c48b02e3860d5"]:
{{{
#!CommitTicketReference repository=""
revision="f5cfd09c257e5a4ed6d01d32505c48b02e3860d5"
Fixed #7361 -- Added cancel link to admin delete views.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/7361#comment:13>
Comment (by Tim Graham <timograham@…>):
In [changeset:"43fcf3505eb22228f551ab03122f99b3d40f38ed"]:
{{{
#!CommitTicketReference repository=""
revision="43fcf3505eb22228f551ab03122f99b3d40f38ed"
Fixed admin_views test from refs #7361 (name was too long).
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/7361#comment:14>
Comment (by Tim Graham <timograham@…>):
In [changeset:"b8abfe141be17f20079f55b921dcaf7abe116c4b"]:
{{{
#!CommitTicketReference repository=""
revision="b8abfe141be17f20079f55b921dcaf7abe116c4b"
Fixed #24101 -- Fixed flaky admin_views selenium tests; refs #7361.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/7361#comment:15>