Permalink
Browse files

better related names for split tags

  • Loading branch information...
1 parent e85e11a commit 190bcc0cca4f0ca11e8e87b66197637cac2f066f @ryanpitts ryanpitts committed Feb 18, 2013
Showing with 3 additions and 2 deletions.
  1. +3 −2 source/tags/models.py
View
@@ -7,10 +7,11 @@ class TechnologyTag(TagBase):
pass
class TechnologyTaggedItem(GenericTaggedItemBase):
- tag = models.ForeignKey(TechnologyTag, related_name="%(app_label)s_%(class)s_items")
+ tag = models.ForeignKey(TechnologyTag, related_name="%(app_label)s_%(class)s_techtag_items")
class ConceptTag(TagBase):
pass
class ConceptTaggedItem(GenericTaggedItemBase):
- tag = models.ForeignKey(ConceptTag, related_name="%(app_label)s_%(class)s_items")
+ tag = models.ForeignKey(ConceptTag, related_name="%(app_label)s_%(class)s_concepttag_items")
+

0 comments on commit 190bcc0

Please sign in to comment.