Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

better related names for split tags

  • Loading branch information...
commit 190bcc0cca4f0ca11e8e87b66197637cac2f066f 1 parent e85e11a
@ryanpitts ryanpitts authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 source/tags/models.py
View
5 source/tags/models.py
@@ -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.
Something went wrong with that request. Please try again.