summaryrefslogtreecommitdiff
path: root/tests/mutually_referential
diff options
context:
space:
mode:
authorRodolfo Carvalho <rhcarvalho@gmail.com>2014-03-02 15:25:53 +0100
committerTim Graham <timograham@gmail.com>2014-03-03 07:38:09 -0500
commit0d912258921a442c48d5787228db2db5af7e8fa5 (patch)
treef6826425de5bca2498c46e5242b870282a34eda2 /tests/mutually_referential
parent6acaa5238668593d6d854b28dbfa65e95796585c (diff)
Fixed many typos in comments and docstrings.
Thanks Piotr Kasprzyk for help with the patch.
Diffstat (limited to 'tests/mutually_referential')
-rw-r--r--tests/mutually_referential/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mutually_referential/models.py b/tests/mutually_referential/models.py
index 25bc45731f..230a1ec237 100644
--- a/tests/mutually_referential/models.py
+++ b/tests/mutually_referential/models.py
@@ -11,11 +11,11 @@ class Parent(models.Model):
name = models.CharField(max_length=100)
# Use a simple string for forward declarations.
- bestchild = models.ForeignKey("Child", null=True, related_name="favoured_by")
+ bestchild = models.ForeignKey("Child", null=True, related_name="favored_by")
class Child(models.Model):
name = models.CharField(max_length=100)
- # You can also explicitally specify the related app.
+ # You can also explicitly specify the related app.
parent = models.ForeignKey("mutually_referential.Parent")