File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ Lets link two widgets via a *dependent_fields* dictionary. The key
3737represents the name of the field in the form. The value represents the
3838name of the field in the model (used in `queryset `).
3939
40- .. code :: python
40+ .. code-block :: python
4141 :emphasize- lines: 17
4242
4343 class AddressForm (forms .Form ):
@@ -71,7 +71,7 @@ select2 depending of his selection in another one.
7171
7272Customize the form in a manner:
7373
74- .. code :: python
74+ .. code-block :: python
7575 :emphasize- lines: 7
7676
7777 class AddressForm (forms .Form ):
@@ -112,7 +112,7 @@ which differs from widget field name `city`.
112112Furthermore you may want to filter options on two or more select2
113113selections (some code is dropped for clarity):
114114
115- .. code :: python
115+ .. code-block :: python
116116 :emphasize- lines: 14
117117
118118 class SomeForm (forms .Form ):
You can’t perform that action at this time.
0 commit comments