Commit 993f9717 by Alex Gaynor

Merge commit 'origin/master'

parents b5fc5d93 89b059a6
......@@ -19,7 +19,7 @@ class Tag(models.Model):
class TaggedItem(models.Model):
object_id = models.IntegerField()
content_type = models.ForeignKey(ContentType)
content_type = models.ForeignKey(ContentType, related_name="tagged_items")
content_object = GenericForeignKey()
tag = models.ForeignKey(Tag, related_name="items")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment