From a0d34348dd680a180496d1cc5d3bdbaec249f3f0 Mon Sep 17 00:00:00 2001 From: Tom Terrace Date: Sat, 28 Apr 2012 14:18:16 -0300 Subject: [PATCH] fix typo: instanciating -> instantiating --- django/views/generic/edit.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/django/views/generic/edit.py b/django/views/generic/edit.py index 1f488cb880..b3ff328344 100644 --- a/django/views/generic/edit.py +++ b/django/views/generic/edit.py @@ -35,7 +35,7 @@ class FormMixin(ContextMixin): def get_form_kwargs(self): """ - Returns the keyword arguments for instanciating the form. + Returns the keyword arguments for instantiating the form. """ kwargs = {'initial': self.get_initial()} if self.request.method in ('POST', 'PUT'): @@ -87,7 +87,7 @@ class ModelFormMixin(FormMixin, SingleObjectMixin): def get_form_kwargs(self): """ - Returns the keyword arguments for instanciating the form. + Returns the keyword arguments for instantiating the form. """ kwargs = super(ModelFormMixin, self).get_form_kwargs() kwargs.update({'instance': self.object})