Skip to content

Commit

Permalink
Merge a0d3434 into 2cadd86
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Merge Button committed Apr 28, 2012
2 parents 2cadd86 + a0d3434 commit 2d69291
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions django/views/generic/edit.py
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 2d69291

Please sign in to comment.