Skip to content

Commit

Permalink
Merge pull request django#230 from pjdelport/cleanup
Browse files Browse the repository at this point in the history
Cleanup
  • Loading branch information
alex committed Jul 25, 2012
2 parents 98c7ad4 + f1128e5 commit 5ee8c3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion django/forms/models.py
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/ref/databases.txt
Expand Up @@ -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.

Expand Down

0 comments on commit 5ee8c3e

Please sign in to comment.