[BangPypers] Django pagination

Gora Mohanty gora at mimirtech.com
Mon Feb 16 08:26:47 CET 2015


On 16 February 2015 at 12:42, Shashidhar Paragonda
<shashidhar85 at gmail.com> wrote:
> hello hackers,
>
> I need help on implementing pagination for Restful responses in django,
> front hand I am using angular js.
> Basically I get customer details from rest request and I need to divide
> then by 25 per page with pagination how can I achieve this. No Db involved
> here.

If the front-end is in AngularJS, you should probably do the
pagination there. The JSON sent to AngularJS can contain a list of the
entities to be paginated.

Regards,
Gora


More information about the BangPypers mailing list