Permalink
Browse files

Merge pull request #9 from t0m/master

Fixed typo: instanciating -> instantiating in django/views/generic/edit.py
  • Loading branch information...
2 parents 2cadd86 + a0d3434 commit ebcba0129f1e901bfb30d4ad7abadddd2ce13cdf @adrianholovaty adrianholovaty committed Apr 28, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 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})

0 comments on commit ebcba01

Please sign in to comment.