mirror of
https://github.com/django/django.git
synced 2024-12-23 01:25:58 +00:00
Fixed some markup in formtools docs.
This commit is contained in:
parent
ffc8e2e0ae
commit
b5e1e2ec03
@ -247,7 +247,7 @@ wizard's ``as_view()`` method takes a list of your
|
||||
|
||||
.. versionchanged:: 1.6
|
||||
|
||||
You can also pass the form list as a class attribute named ``form_list``.
|
||||
You can also pass the form list as a class attribute named ``form_list``::
|
||||
|
||||
class ContactWizard(WizardView):
|
||||
form_list = [ContactForm1, ContactForm2]
|
||||
@ -304,8 +304,8 @@ The ``urls.py`` file would contain something like::
|
||||
|
||||
.. versionchanged:: 1.6
|
||||
|
||||
The ``condiction_dict`` can be passed as attribute for the ``as_view()``
|
||||
method or as a class attribute named ``condition_dict``.
|
||||
The ``condiction_dict`` can be passed as attribute for the ``as_view()`
|
||||
method or as a class attribute named ``condition_dict``::
|
||||
|
||||
class OrderWizard(WizardView):
|
||||
condition_dict = {'cc': pay_by_credit_card}
|
||||
|
Loading…
Reference in New Issue
Block a user