Browse files

Added a related_name to a test model to avoid a name clash in the ful…

…l test suite.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13455 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 8b73acd commit de81c5513c9d1e71965c7ccb5f8e1f62e6a45da6 @freakboy3742 freakboy3742 committed Jul 30, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/regressiontests/backends/models.py
View
2 tests/regressiontests/backends/models.py
@@ -41,7 +41,7 @@ class Meta:
class Tag(models.Model):
name = models.CharField(max_length=30)
- content_type = models.ForeignKey(ContentType)
+ content_type = models.ForeignKey(ContentType, related_name='backend_tags')
object_id = models.PositiveIntegerField()
content_object = generic.GenericForeignKey('content_type', 'object_id')

0 comments on commit de81c55

Please sign in to comment.