django/tests/admin_views
Jon Dufresne 3857a08bdb Fixed #31361 -- Fixed invalid action="" in admin forms.
The attribute action="" (empty string) on the <form> element is invalid
HTML5. The spec (https://html.spec.whatwg.org/#attr-fs-action) says:

> The action and formaction content attributes, if specified, must have
> a value that is a valid non-empty URL potentially surrounded by
> spaces.

Emphasis on non-empty. The action attribute is allowed to be omitted, in
which case the current URL is used which is the same behavior as now.
2020-03-16 07:31:19 +01:00
..
templates Fixed #31349 -- Used :nth-child() CSS pseudo-class to style alternative rows in admin. 2020-03-09 12:34:32 +01:00
__init__.py Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
admin.py Fixed CVE-2019-19118 -- Required edit permissions on parent model for editable inlines in admin. 2019-12-02 08:56:08 +01:00
custom_has_permission_admin.py Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
customadmin.py Updated test URL patterns to use path() and re_path(). 2018-12-31 10:47:32 -05:00
forms.py Fixed #26919 -- Added the action form's media in the changelist view. 2016-08-11 19:35:31 -04:00
models.py Fixed #27272 -- Added an on_delete RESTRICT handler to allow cascading deletions while protecting direct ones. 2019-11-19 10:55:05 +01:00
test_actions.py Switched setUp() to setUpTestData() where possible in Django's tests. 2018-11-27 09:35:17 -05:00
test_adminsite.py Updated test URL patterns to use path() and re_path(). 2018-12-31 10:47:32 -05:00
test_autocomplete_view.py Fixed #29892 -- Added explicit Selenium wait in admin autocomplete tests. 2019-11-29 14:03:22 +01:00
test_forms.py Fixed CVE-2018-6188 -- Fixed information leakage in AuthenticationForm. 2018-02-01 09:05:14 -05:00
test_history_view.py Fixed #30400 -- Improved typography of user facing strings. 2019-06-28 16:46:18 +02:00
test_multidb.py Refs #31117 -- Made various tests properly handle unexpected databases aliases. 2020-01-20 14:39:02 +01:00
test_templatetags.py Fixed #29376 -- Allowed hiding "Save and Add Another" button in admin. 2019-09-16 11:37:09 +02:00
tests.py Fixed #31361 -- Fixed invalid action="" in admin forms. 2020-03-16 07:31:19 +01:00
urls.py Fixed CVE-2019-19118 -- Required edit permissions on parent model for editable inlines in admin. 2019-12-02 08:56:08 +01:00
views.py Fixed #24294 -- Allowed staff_member_required decorator to handle args. 2015-03-02 13:15:34 -05:00