Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fix
_clone
method for ModelTranslation support (#1976)
ModelTransalation' queryset class `TransalationQuerySet` defines a [`_clone()`](https://github.com/deschler/django-modeltranslation/blob/445ee84821cc8127deee83656a8d3c7ca6f72b54/modeltranslation/manager.py#L188) function that supports passing some kwargs, and some functions already depends on this behaviour (e.g: [`rewrite()`](https://github.com/deschler/django-modeltranslation/blob/445ee84821cc8127deee83656a8d3c7ca6f72b54/modeltranslation/manager.py#L202), [`populate()`](https://github.com/deschler/django-modeltranslation/blob/445ee84821cc8127deee83656a8d3c7ca6f72b54/modeltranslation/manager.py#L206). This commit restore the support of passing kwargs.
- Loading branch information