File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ class TrackedModel(models.Model):
6767Or globally with:
6868
6969``` python
70- PGHISTORY_OBJ_FIELD = pghistory.ForeignKey (
70+ PGHISTORY_OBJ_FIELD = pghistory.ObjForeignKey (
7171 on_delete = models.CASCADE ,
7272 db_constraint = True
7373)
@@ -171,7 +171,7 @@ The default `pgh_context` field of event models can be set with `settings.PGH_CO
171171
172172By default, the context foreign key object uses ` null=True ` to ensure that context is optional.
173173
174- Similar to ` pgh_obj ` , the ` pgh_context ` argument and setting can be ` None ` if one wishes to ignore context tracking.m
174+ Similar to ` pgh_obj ` , the ` pgh_context ` argument and setting can be ` None ` if one wishes to ignore context tracking.
175175
176176## ` pgh_context_id ` Field
177177
You can’t perform that action at this time.
0 commit comments