Kaydet (Commit) 12c1d6fe authored tarafından Tim Graham's avatar Tim Graham

Refs #27377 -- Fixed reverse query name clash in test model.

üst a849ec18
......@@ -36,7 +36,7 @@ class ValidationTestModel(models.Model):
is_active = models.BooleanField(default=False)
pub_date = models.DateTimeField()
band = models.ForeignKey(Band, models.CASCADE)
best_friend = models.OneToOneField(User, models.CASCADE)
best_friend = models.OneToOneField(User, models.CASCADE, related_name='best_friend')
# This field is intentionally 2 characters long (#16080).
no = models.IntegerField(verbose_name="Number", blank=True, null=True)
......
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 to comment