Skip to content

Commit 06c08bc

Browse files
valentijnscholtenValentijn Scholten
andauthored
docs: fix typos (#229)
Co-authored-by: Valentijn Scholten <[email protected]>
1 parent 45ce57b commit 06c08bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/event_models.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class TrackedModel(models.Model):
6767
Or 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

172172
By 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

0 commit comments

Comments
 (0)