diff --git a/docs/release_notes.rst b/docs/release_notes.rst index 0f07c24..1082f0b 100644 --- a/docs/release_notes.rst +++ b/docs/release_notes.rst @@ -1,6 +1,10 @@ Release Notes ============= +v2.0.1 +------ +* Fixed docstring (alextatarinov) + v2.0.0 ------ * Support django 2.2, 3.0, 3.1 only diff --git a/manager_utils/manager_utils.py b/manager_utils/manager_utils.py index a54aaa4..60c4738 100644 --- a/manager_utils/manager_utils.py +++ b/manager_utils/manager_utils.py @@ -132,8 +132,8 @@ def bulk_upsert( However, if update_fields is not provided, this function reduces down to performing a bulk_create on any non extant objects. - :type model_objs: list of dict - :param model_objs: A list of dictionaries that have fields corresponding to the model in the manager. + :type model_objs: list of :class:`Models` + :param model_objs: A list of models to upsert. :type unique_fields: list of str :param unique_fields: A list of fields that are used to determine if an object in objs matches a model diff --git a/manager_utils/version.py b/manager_utils/version.py index afced14..3f39079 100644 --- a/manager_utils/version.py +++ b/manager_utils/version.py @@ -1 +1 @@ -__version__ = '2.0.0' +__version__ = '2.0.1'