mirror of
https://github.com/django/django.git
synced 2024-11-29 14:46:18 +01:00
5eb81ce445
Fields can now receive the `label_suffix` attribute, which will override a form's `label_suffix`. This enhances the possibility to customize form's `label_suffix`, allowing to use such customizations while using shortcuts such as `{{ form.as_p }}`. Note that the field's own customization can be overridden at runtime by using the `label_prefix` parameter to `BoundField.label_tag()`. Refs #18134. |
||
---|---|---|
.. | ||
class-based-views | ||
contrib | ||
files | ||
forms | ||
models | ||
templates | ||
applications.txt | ||
checks.txt | ||
clickjacking.txt | ||
databases.txt | ||
django-admin.txt | ||
exceptions.txt | ||
index.txt | ||
middleware.txt | ||
migration-operations.txt | ||
request-response.txt | ||
schema-editor.txt | ||
settings.txt | ||
signals.txt | ||
template-response.txt | ||
unicode.txt | ||
urlresolvers.txt | ||
urls.txt | ||
utils.txt | ||
validators.txt | ||
views.txt |