---
title: "Discussion on \"Don't mutate your paginated Queryset\" | Hashnode"
description: "Discussion on \"Don't mutate your paginated Queryset\". Django's Paginator works to batch your query items into pages. Under the hood it uses lazy slicing which is accomplished in sql by offset and limit.\n\nWarning altering the data affects the limit/offset of proceeding paginated pages\n\ndata              ..."
url: "https://hashnode.com/posts/dont-mutate-your-paginated-queryset/66ae38008d1348ae97a83da8"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Don't mutate your paginated Queryset](https://blog.danwald.me/dont-mutate-your-paginated-queryset?utm_source=hashnode&utm_medium=feed)

Django's Paginator works to batch your query items into pages. Under the hood it uses lazy slicing which is accomplished in sql by offset and limit. Warning altering the data affects the limit/offset of proceeding paginated pages data ...

Aug 3, 2024 · 1 min read · blog.danwald.me  
Read the article

-   [#django](https://hashnode.com/tag/django)
-   [#mutations](https://hashnode.com/tag/mutations)
-   [#query](https://hashnode.com/tag/query)
-   [#offset](https://hashnode.com/tag/offset)

## Written by

[Danny Crasto](https://hashnode.com/@danwald)

@danwald · dubai, uae

  
[View profile](https://hashnode.com/@danwald)

backend/cloud engineer | mentor | pythonista

I am developer/code-reviewer/debugger/bug-fixer/architect/teacher/builder from dubai, uae

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
