mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
Fixed reverse accessor check failures in indexes tests.
This commit is contained in:
parent
02c276623d
commit
4f5b7eeb53
@ -19,7 +19,7 @@ class CurrentTranslation(models.ForeignObject):
|
||||
class ArticleTranslation(models.Model):
|
||||
|
||||
article = models.ForeignKey('indexes.Article', models.CASCADE)
|
||||
article_no_constraint = models.ForeignKey('indexes.Article', models.CASCADE, db_constraint=False)
|
||||
article_no_constraint = models.ForeignKey('indexes.Article', models.CASCADE, db_constraint=False, related_name='+')
|
||||
language = models.CharField(max_length=10, unique=True)
|
||||
content = models.TextField()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user