---
title: "Discussion on \"Diff mixin to detect changes in Django models instances\" | Hashnode"
description: "Discussion on \"Diff mixin to detect changes in Django models instances\". Suppose you change your Django model instance, how do you know if the data actually changed? There are a few ways to achieve this, for example using django-simple-history which will add a database entry for every change to keep history.\nHowever, you ..."
url: "https://hashnode.com/posts/diff-mixin-to-detect-changes-in-django-models-instances/646ce1c6f419f3d1c1b5aad6"
---

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

Discussion

# [Diff mixin to detect changes in Django models instances](https://deepintodjango.com/diff-mixin-to-detect-changes-in-django-models-instances?utm_source=hashnode&utm_medium=feed)

Suppose you change your Django model instance, how do you know if the data actually changed? There are a few ways to achieve this, for example using django-simple-history which will add a database entry for every change to keep history. However, you ...

May 23, 2023 · 1 min read · deepintodjango.com  
Read the article

-   [#django](https://hashnode.com/tag/django)
-   [#python](https://hashnode.com/tag/python)
-   [#django-orm](https://hashnode.com/tag/django-orm)

## Written by

[Jurrian Tromp](https://hashnode.com/@jurrian)

@jurrian · Utrecht, The Netherlands

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

Freelance Webdeveloper

Made my first website in Microsoft Word at age 13, when I discovered the "save as html" button. Since then I've journeyed various computing languages, eventually settling for Python. I love diving into the core of my favorite framework - Django - discover and writing about new stuff.

## Responses 1

Markdown supported · ⌘↵ to post

[adonis simo](https://hashnode.com/@adonissimo)

[May 27, 2023](https://hashnode.com/posts/diff-mixin-to-detect-changes-in-django-models-instances/646ce1c6f419f3d1c1b5aad6/comment/6471d63ab13fcf8ee2b46ada)

Very good piece of work
