Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix typo: instanciating -> instantiating

  • Loading branch information...
commit a0d34348dd680a180496d1cc5d3bdbaec249f3f0 1 parent 10cade8
Tom Terrace t0m authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/views/generic/edit.py
4 django/views/generic/edit.py
View
@@ -35,7 +35,7 @@ def get_form(self, form_class):
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 @@ def get_form_class(self):
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})
Please sign in to comment.
Something went wrong with that request. Please try again.