diff options
| author | Rodolfo Carvalho <rhcarvalho@gmail.com> | 2014-03-02 15:25:53 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-03-03 07:38:09 -0500 |
| commit | 0d912258921a442c48d5787228db2db5af7e8fa5 (patch) | |
| tree | f6826425de5bca2498c46e5242b870282a34eda2 /django/contrib/formtools/wizard/views.py | |
| parent | 6acaa5238668593d6d854b28dbfa65e95796585c (diff) | |
Fixed many typos in comments and docstrings.
Thanks Piotr Kasprzyk for help with the patch.
Diffstat (limited to 'django/contrib/formtools/wizard/views.py')
| -rw-r--r-- | django/contrib/formtools/wizard/views.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/django/contrib/formtools/wizard/views.py b/django/contrib/formtools/wizard/views.py index f5cf563ad5..1b297838be 100644 --- a/django/contrib/formtools/wizard/views.py +++ b/django/contrib/formtools/wizard/views.py @@ -368,7 +368,7 @@ class WizardView(TemplateView): def get_form_initial(self, step): """ Returns a dictionary which will be passed to the form for `step` - as `initial`. If no initial data was provied while initializing the + as `initial`. If no initial data was provided while initializing the form wizard, a empty dictionary will be returned. """ return self.initial_dict.get(step, {}) @@ -376,7 +376,7 @@ class WizardView(TemplateView): def get_form_instance(self, step): """ Returns a object which will be passed to the form for `step` - as `instance`. If no instance object was provied while initializing + as `instance`. If no instance object was provided while initializing the form wizard, None will be returned. """ return self.instance_dict.get(step, None) |
