makinacorpus/django-safedelete — pull request #32 by Gagaro (2014-12-15 15:25:00+00:00)
Title: fix: all_with_deleted filter when used on a related manager.

``all_with_deleted`` creates a new queryset, and thus remove the filter from the RelatedManager.

See https://github.com/django/django/blob/master/django/db/models/fields/related.py#L688 for when it is done in Django.

A test has been added.

Still missing: ``queryset._known_related_objects``. We apparently can't get the ``rel_field`` trivially. Does someone have a way to get it ?