Skip to content

Commit

Permalink
Allow GFK to proxy models
Browse files Browse the repository at this point in the history
  • Loading branch information
Viicos committed Apr 3, 2024
1 parent b602d9a commit a00b407
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion timeline_logger/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class TimelineLog(models.Model):
null=True,
db_index=True,
)
content_object = GenericForeignKey("content_type", "object_id")
content_object = GenericForeignKey("content_type", "object_id", for_concrete_model=False)
timestamp = models.DateTimeField(
verbose_name=_("timestamp"),
auto_now_add=True,
Expand Down

0 comments on commit a00b407

Please sign in to comment.