﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
31353	Improved performance of admin changeform_view.	Hasan Ramezani	Hasan Ramezani	"There is a check for formset and form validation in [https://github.com/django/django/blob/eb77e80de01e658541d4fcc3b0b38783ce4e6a7e/django/contrib/admin/options.py#L1566 ModelAdmin._changeform_view]

`if all_valid(formsets) and form_validated:`

We can change the order of checks to prevent validation of all formsets when `form_validated=Flase`:

`if form_validated and all_valid(formsets):`

Here is the [https://github.com/django/django/pull/12483 PR].


"	Cleanup/optimization	closed	contrib.admin	3.0	Normal	wontfix			Unreviewed	1	0	0	0	1	0
