0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00
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
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
customadmin.py Updated test URL patterns to use path() and re_path(). 2018-12-31 10:47:32 -05:00
forms.py
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
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
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