summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiet Delport <pjdelport@gmail.com>2012-07-23 05:12:36 +0200
committerPiet Delport <pjdelport@gmail.com>2012-07-25 01:21:15 +0200
commit487b92a13ca88cff7297fec57848a166094d5711 (patch)
treeef79a448053aa2dd30436ef0f50f7a6681fa4dba
parentf758bdab5eec3e615598948dd5bcf9bb7b910c9d (diff)
it's -> its
-rw-r--r--django/forms/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/forms/models.py b/django/forms/models.py
index 0831d5f4b2..4d56f1d38a 100644
--- a/django/forms/models.py
+++ b/django/forms/models.py
@@ -714,7 +714,7 @@ class BaseInlineFormSet(BaseModelFormSet):
# 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