Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #230 from pjdelport/cleanup

Cleanup
  • Loading branch information...
commit 5ee8c3ef0c7e311bfc49ce145126b46a9ebea456 2 parents 98c7ad4 + f1128e5
@alex alex authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  django/forms/models.py
  2. +1 −1  docs/ref/databases.txt
View
2  django/forms/models.py
@@ -714,7 +714,7 @@ def _construct_form(self, i, **kwargs):
# Remove the foreign key from the form's data
form.data[form.add_prefix(self.fk.name)] = None
- # Set the fk value here so that the form can do it's validation.
+ # Set the fk value here so that the form can do its validation.
setattr(form.instance, self.fk.get_attname(), self.instance.pk)
return form
View
2  docs/ref/databases.txt
@@ -111,7 +111,7 @@ outputs a single ``CREATE INDEX`` statement. However, if the database type
for the field is either ``varchar`` or ``text`` (e.g., used by ``CharField``,
``FileField``, and ``TextField``), then Django will create
an additional index that uses an appropriate `PostgreSQL operator class`_
-for the column. The extra index is necessary to correctly perfrom
+for the column. The extra index is necessary to correctly perform
lookups that use the ``LIKE`` operator in their SQL, as is done with the
``contains`` and ``startswith`` lookup types.
Please sign in to comment.
Something went wrong with that request. Please try again.