[PATCH 1/3] REST: Integrate django-filter support

Russell Currey ruscur at russell.cc
Mon Nov 21 11:39:57 AEDT 2016


On Fri, 2016-11-18 at 01:18 +0000, Stephen Finucane wrote:
> This mostly works out of the box, thanks to Django REST Framework.
> Mostly unique fields, like name or email, are excluded as these will be
> handled separately.
> 
> Signed-off-by: Stephen Finucane <stephen at that.guru>
> ---

Hi,

Do you know if there's a way to get a reverse ordering of entries in the REST
API?  For example in the patches API each "page" has 30 entries, and you can get
the latest page with ?page=last - but this isn't as nice as a reverse ordering
of ids or dates.  Do you know if there's a way to do this at present, or is that
something that could be made available with filters?

- Russell


More information about the Patchwork mailing list