Replace import_object()
with Django's import_string()
#10699
Labels
status: accepted
This issue has been accepted for implementation
type: deprecation
Removal of existing functionality or behavior
Milestone
Proposed Changes
extras.plugins.utils
defines a customimport_object()
function, which is used to dynamically import modules specified by a string. This can be removed and replaced with Django's ownimport_string()
function.Although this is not a documented part of the plugins API, we should bind this to a minor release to avoid any surprises for plugin authors who opted to use it.
Justification
Eliminates unnecessary code and leverages a Django utility.
The text was updated successfully, but these errors were encountered: