mirror of
https://github.com/django/django.git
synced 2025-08-31 15:57:45 +00:00
Fixed many typos in comments and docstrings.
Thanks Piotr Kasprzyk for help with the patch.
This commit is contained in:
parent
6acaa52386
commit
0d91225892
121 changed files with 208 additions and 208 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue