Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fixed typo, instanciating -> instantiating in django/views/generic/edit.py #9

Merged
merged 1 commit into from

2 participants

Tom Terrace Adrian Holovaty
Tom Terrace

No description provided.

Adrian Holovaty adrianholovaty merged commit ebcba01 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 28, 2012
  1. Tom Terrace
This page is out of date. Refresh to see the latest.
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})
Something went wrong with that request. Please try again.