django-rest-framework/rest_framework/templates
Lenno Nagel 833313496c
Removed usage of field.choices that triggered full table load (#8950)
Removed the `{{ field.choices|yesno:",disabled" }}` block because this triggers the loading of full database table worth of objects just to determine whether the multi-select widget should be set as disabled or not.

Since this "disabled" marking feature is not present in the normal select field, then I propose to remove it also from the multi-select.
2023-06-13 10:27:37 +06:00
..
rest_framework Removed usage of field.choices that triggered full table load (#8950) 2023-06-13 10:27:37 +06:00