Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Fixed #23387 -- Kept "Save as new" button after validation errors in …

…admin.

When "Save as new" is chosen and errors occur, only show the "Save as new"
button and not the other save buttons.

Thanks to Tino de Bruijn for doing the real work on this fix.
latest commit 0894643e40
@adamzap adamzap authored timgraham committed
..
Failed to load latest commit information.
bin Limited lines to 119 characters in django/
locale Updated translations from Transifex
migrations Sorted imports with isort; refs #23860.
static/admin Fixed #24676 -- Fixed help text positioning in ``contrib.admin`` filt…
templates Fixed #24466 -- Added JavaScript escaping in a couple places in the a…
templatetags Fixed #23387 -- Kept "Save as new" button after validation errors in …
views Revert "Fixed #24474 -- Allowed configuring the admin's empty change …
__init__.py Fixed #16311 -- Added a RelatedOnlyFieldListFilter class in admin.fil…
actions.py Fixed #24411 -- Avoided dict key/method clash in admin delete views.
apps.py Sorted imports with isort; refs #23860.
checks.py Renamed Field.rel attribute to remote_field
decorators.py Fixed typo in exception message; refs #19414
exceptions.py Prevented data leakage in contrib.admin via query string manipulation.
filters.py Revert "Fixed #24474 -- Allowed configuring the admin's empty change …
forms.py Sorted imports with isort; refs #23860.
helpers.py Removed cases of six.iter* wrapped in a list()
models.py Removed outdated docstring for get_admin_url().
options.py Fixed #23387 -- Kept "Save as new" button after validation errors in …
sites.py Removed cases of six.iter* wrapped in a list()
tests.py Fixed #23374 -- Renamed StaticLiveServerCase to StaticLiveServerTestCase
utils.py Fixed #24593 -- Fixed number formatting of readonly IntegerFields in …
widgets.py Fixed #24466 -- Added JavaScript escaping in a couple places in the a…
Something went wrong with that request. Please try again.