[PATCH 1/4] compat: Handle older versions of django-filter
Stephen Finucane
stephen at that.guru
Sat Apr 29 07:47:17 AEST 2017
On Tue, 2017-04-04 at 22:38 +0100, Stephen Finucane wrote:
> Recent versions of Django REST Framework (DRF) have deprecated the
> 'DjangoFilterBackend' filter found in-tree, in favour of an
> equivalent
> implementation found in django-filter. However, we need to support
> older
> versions of DRF for users who want to use system packages.
>
> Seeing as the two implementations are, for all intents and purposes,
> essentially the same thing, provide a shim that will allow us to use
> both together.
>
> Signed-off-by: Stephen Finucane <stephen at that.guru>
> Cc: Daniel Axtens <dja at axtens.net>
> Partial-bug: #94
I've gone ahead and merged all but the last of these (which served well
enough as a temporary test, but is tediously slow to keep around long
term).
Stephen
More information about the Patchwork
mailing list