Skip to content

Why is pagination ignored in the all() view? #69

@awidgery

Description

@awidgery

I'm trying to get pagination working and saw the page = request.GET.get('p') code in the all view, but it wasn't working.

After a closer look it seems there is a return straight back on lines 19-21:

return render(request, 'notifications/list.html', {
    'notifications': qs
})

So the code after this never executes.
Is there a reason for this?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions