Skip to content

Commit

Permalink
Fix documentation example for tracking events.
Browse files Browse the repository at this point in the history
Type: bug
  • Loading branch information
jzmiller1 authored and wesleykendall committed Mar 26, 2023
1 parent a7cee63 commit acaaadf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/event_tracking.rst
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ events for Django's user model:
@pghistory.track(
pghistory.AfterInsert("group.add"),
pghistory.BeforeDelete("group.remove"),
object_field=None,
obj_field=None,
)
class UserGroups(User.groups.through):
class Meta:
Expand Down

0 comments on commit acaaadf

Please sign in to comment.