Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge a0d3434 into 2cadd86

  • Loading branch information...
commit 2d69291e53c8d83facff58290f39497908cf3e14 2 parents 2cadd86 + a0d3434
GitHub Merge Button authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/views/generic/edit.py
View
4 django/views/generic/edit.py
@@ -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.