1
0
mirror of https://github.com/django/django.git synced 2024-12-25 02:26:12 +00:00

it's -> its

This commit is contained in:
Piet Delport 2012-07-23 05:12:36 +02:00
parent f758bdab5e
commit 487b92a13c

View File

@ -714,7 +714,7 @@ class BaseInlineFormSet(BaseModelFormSet):
# Remove the foreign key from the form's data # Remove the foreign key from the form's data
form.data[form.add_prefix(self.fk.name)] = None 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) setattr(form.instance, self.fk.get_attname(), self.instance.pk)
return form return form