Skip to content

Commit

Permalink
fix typo: instanciating -> instantiating
Browse files Browse the repository at this point in the history
  • Loading branch information
t0m committed Apr 28, 2012
1 parent 10cade8 commit a0d3434
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions django/views/generic/edit.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'):
Expand Down Expand Up @@ -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})
Expand Down

0 comments on commit a0d3434

Please sign in to comment.