[Django] #35069: Form documentation example has incorrect output

5 views
Skip to first unread message

Django

unread,
Dec 29, 2023, 1:23:12 PM12/29/23
to django-...@googlegroups.com
#35069: Form documentation example has incorrect output
-------------------------------------+-------------------------------------
Reporter: Zowie | Owner: nobody
Beha |
Type: | Status: new
Cleanup/optimization |
Component: | Version: 5.0
Uncategorized |
Severity: Normal | Keywords: form, documentation
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
-------------------------------------+-------------------------------------
https://docs.djangoproject.com/en/5.0/ref/forms/api/#django.forms.Form.label_suffix
https://i.imgur.com/9wgvVRd.png

Hi everyone,

in this example, a form is created with the label_suffix set to " ->".
When this form is printed, the output shows that the Subject label does
not reflect this change. This leads me to think this line may be a
mistake.

--
Ticket URL: <https://code.djangoproject.com/ticket/35069>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Dec 29, 2023, 1:24:20 PM12/29/23
to django-...@googlegroups.com
#35069: Form documentation example has incorrect output
-------------------------------------+-------------------------------------
Reporter: Zowie Beha | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: Uncategorized | Version: 5.0
Severity: Normal | Resolution:

Keywords: form, documentation | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Zowie Beha):

* Attachment "9wgvVRd.png" added.

The subject label has the suffix ':', while label_suffix sets it to ' ->'

Django

unread,
Dec 29, 2023, 1:27:05 PM12/29/23
to django-...@googlegroups.com
#35069: Form documentation example has incorrect output
-------------------------------------+-------------------------------------
Reporter: Zowie Beha | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: Documentation | Version: 5.0

Severity: Normal | Resolution:
Keywords: form, documentation | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Zowie Beha):

* component: Uncategorized => Documentation


--
Ticket URL: <https://code.djangoproject.com/ticket/35069#comment:1>

Django

unread,
Dec 29, 2023, 1:55:40 PM12/29/23
to django-...@googlegroups.com
#35069: Form documentation example has incorrect output
-------------------------------------+-------------------------------------
Reporter: Zowie Beha | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: Documentation | Version: 5.0
Severity: Normal | Resolution:
Keywords: form, documentation | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Zowie Beha):

* cc: Zowie Beha (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/35069#comment:2>

Reply all
Reply to author
Forward
0 new messages