You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
m2m relationships ignores the SIMPLE_HISTORY_ENABLED = False, even when disabled the library is still saving the historical record.
This is causing me some issue when loading Django fixture using loaddata
To Reproduce
Steps to reproduce the behavior:
set SIMPLE_HISTORY_ENABLED = False
save a m2m relationship
you will see the record in the historical DB
Expected behavior
If SIMPLE_HISTORY_ENABLED = False no historical record should be created for m2m relationship
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
OS: Ubuntu 22
Browser (if applicable): [e.g. chrome, safari]
Django Simple History Version: [e.g. 1.9.1]
Django Version: [e.g. 1.11.11]
Database Version: PostgreSQL 15
The text was updated successfully, but these errors were encountered:
MattFanto
changed the title
m2m historical record is still save even when SIMPLE_HISTORY_ENABLED = False
m2m historical records are saved even when SIMPLE_HISTORY_ENABLED = False
May 12, 2024
Describe the bug
m2m relationships ignores the SIMPLE_HISTORY_ENABLED = False, even when disabled the library is still saving the historical record.
This is causing me some issue when loading Django fixture using loaddata
To Reproduce
Steps to reproduce the behavior:
Expected behavior
If SIMPLE_HISTORY_ENABLED = False no historical record should be created for m2m relationship
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: