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
The FAQ could probably just link to that. Might also be worth noting that in the data migration you must refer to the actual model, not the fake model used in migration state, otherwise pghistory won't recognise it (there are no trackers on the fake models).
PS: Thanks for all the hard work on this useful lib 🏆
The text was updated successfully, but these errors were encountered:
Suggestion: Add an FAQ on how to backfill audit events for models with existing data.
I saw this section in the docs on manual tracking, it helped me to add audit events for the current data I have: https://django-pghistory.readthedocs.io/en/2.7.0/event_tracking.html#manual-tracking
The FAQ could probably just link to that. Might also be worth noting that in the data migration you must refer to the actual model, not the fake model used in migration state, otherwise pghistory won't recognise it (there are no trackers on the fake models).
PS: Thanks for all the hard work on this useful lib 🏆
The text was updated successfully, but these errors were encountered: