Example changes that show the impact of alter the base_fields attribute.
There is an example of the impact of changing the attribute of base_fields in the forms api document.
According to the above document, I think we need to show the impact on subsequent ContactForm when we change the base_fields attribute as an example of ContactForm.
>>> f.base_fields["subject"].label_suffix = "?"
>>> another_f = ContactForm(auto_id=False)
>>> another_f.as_div().split("</div>")[0]
'<div><label for="id_subject">Subject?</label><input type="text" name="subject" maxlength="100" required id="id_subject">'
Change History
(7)
Owner: |
set to Antoliny
|
Status: |
new → assigned
|
Triage Stage: |
Unreviewed → Accepted
|
Type: |
Uncategorized → Cleanup/optimization
|
Triage Stage: |
Accepted → Ready for checkin
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
PR