Commit 89b059a6 by Matt Croydon Committed by Alex Gaynor

Changed the related_name on the content_type field for TaggedItem to…

Changed the related_name on the content_type field for TaggedItem to tagged_items per Alex's suggestion.
parent 0f2bcab1
......@@ -19,7 +19,7 @@ class Tag(models.Model):
class TaggedItem(models.Model):
object_id = models.IntegerField()
content_type = models.ForeignKey(ContentType, related_name="items")
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