Opened 2 years ago

Closed 2 years ago

#33371 closed Uncategorized (needsinfo)

Unnecessary colon with blank label

Reported by: Timur Kadyev Owned by: nobody
Component: Forms Version: 4.0
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Timur Kadyev)

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...

Change History (2)

comment:1 by Timur Kadyev, 2 years ago

Description: modified (diff)

comment:2 by Mariusz Felisiak, 2 years ago

Resolution: needsinfo
Status: newclosed

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.

Note: See TracTickets for help on using tickets.
Back to Top