mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-03-03 10:45:51 +03:00
Fix base_template name in example
This commit is contained in:
parent
aaa1fcd5d1
commit
9437d9b8ee
|
@ -826,7 +826,7 @@ The `style` keyword argument can be used to pass through additional information
|
|||
For example, to use a `textarea` control instead of the default `input` control, you would use the following…
|
||||
|
||||
additional_notes = serializers.CharField(
|
||||
style={'base_template': 'text_area.html'}
|
||||
style={'base_template': 'textarea.html'}
|
||||
)
|
||||
|
||||
Similarly, to use a radio button control instead of the default `select` control, you would use the following…
|
||||
|
|
Loading…
Reference in New Issue
Block a user