Closed noelleleigh closed 1 month ago
Improve the type hints for BaseModelAdmin, ModelAdmin, and InlineModelAdmin by:
BaseModelAdmin
ModelAdmin
InlineModelAdmin
_ModelT
Any
It think the highest value change here is ModelAdmin.get_form, which is what prompted me to make these changes in the fist place.
ModelAdmin.get_form
Improve the type hints for
BaseModelAdmin
,ModelAdmin
, andInlineModelAdmin
by:_ModelT
generic variable moreAny
return types more specificIt think the highest value change here is
ModelAdmin.get_form
, which is what prompted me to make these changes in the fist place.