[Django] #33371: Unnecessary colon with blank label

7 views
Skip to first unread message

Django

unread,
Dec 16, 2021, 4:35:46 AM12/16/21
to django-...@googlegroups.com
#33371: Unnecessary colon with blank label
-----------------------------------------+------------------------
Reporter: Timur Kadyev | Owner: nobody
Type: Uncategorized | Status: new
Component: Forms | Version: 4.0
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------
class AForm(forms.ModelForm):

class Meta:
labels = {'field_name': ''}

If tag = "", then an unnecessary colon is left

This is, of course, a trifle. But anyway...

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

Django

unread,
Dec 16, 2021, 4:36:42 AM12/16/21
to django-...@googlegroups.com
#33371: Unnecessary colon with blank label
-------------------------------+--------------------------------------

Reporter: Timur Kadyev | Owner: nobody
Type: Uncategorized | Status: new
Component: Forms | Version: 4.0
Severity: Normal | Resolution:

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Description changed by Timur Kadyev:

Old description:

> class AForm(forms.ModelForm):
>
> class Meta:
> labels = {'field_name': ''}
>
> If tag = "", then an unnecessary colon is left
>
> This is, of course, a trifle. But anyway...

New description:

{{{
class AForm(forms.ModelForm):

class Meta:
labels = {'field_name': ''}
}}}


If tag = "", then an unnecessary colon is left

This is, of course, a trifle. But anyway...

--

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

Django

unread,
Dec 16, 2021, 4:59:15 AM12/16/21
to django-...@googlegroups.com
#33371: Unnecessary colon with blank label
-------------------------------+--------------------------------------

Reporter: Timur Kadyev | Owner: nobody
Type: Uncategorized | Status: closed
Component: Forms | Version: 4.0
Severity: Normal | Resolution: needsinfo

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by Mariusz Felisiak):

* status: new => closed
* resolution: => needsinfo


Comment:

Thanks for the report, however I don't see any extra colon when rendering
a form. Can you be more precise? A sample project or reproducible scenario
would be helpful.

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

Reply all
Reply to author
Forward
0 new messages