mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	Removed versionadded/changed annotations for 4.1.
This commit is contained in:
		| @@ -12,12 +12,6 @@ in the admin change form. The ``formset:added`` and ``formset:removed`` events | ||||
| allow this. ``event.detail.formsetName`` is the formset the row belongs to. | ||||
| For the ``formset:added`` event, ``event.target`` is the newly added row. | ||||
|  | ||||
| .. versionchanged:: 4.1 | ||||
|  | ||||
|     In older versions, the event was a ``jQuery`` event with ``$row`` and | ||||
|     ``formsetName`` parameters. It is now a JavaScript ``CustomEvent`` with | ||||
|     parameters set in ``event.detail``. | ||||
|  | ||||
| In your custom ``change_form.html`` template, extend the | ||||
| ``admin_change_form_document_ready`` block and add the event listener code: | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user