etianen / django-reversion

django-reversion is an extension to the Django web framework that provides version control for model instances.
https://django-reversion.readthedocs.io
BSD 3-Clause "New" or "Revised" License
3.03k stars 489 forks source link

ignore_duplicate fields #958

Open TonisPiip opened 8 months ago

TonisPiip commented 8 months ago

from https://github.com/etianen/django-reversion/issues/957

And also in the linked issue above, it was said it's a bad idea to exclude fields, but I wonder, where is that mentioned in the docs, or is there some best practices? Or is there some way to exclude fields, so they are still tracked, but not have the fields be considered when it's checking the logic for ignore_duplicates?


implementation idea:

either:

etianen commented 8 months ago

ignore_duplicates allows also being an itterable list of field names ☝️ This sounds nice!