jazzband / django-simple-history

Store model history and view/revert changes from admin site.
https://django-simple-history.readthedocs.org
BSD 3-Clause "New" or "Revised" License
2.22k stars 481 forks source link

Add support for HistoricOneToOneField #1389

Closed JordanHyatt closed 1 day ago

JordanHyatt commented 2 months ago

HistoricForeignKey is a very nice feature, it would be great to extend this support to OneToOneFields.

kgeidel commented 2 months ago

Yes, that would be swell. HistoricForeignKey(unique=True) throws that warning about using one to one. Would be nice to be able to have history on the 1-1 w/o needing to suppress that warning.

ddabble commented 1 day ago

Duplicate of #1031