Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#2817 closed defect (fixed)

[patch] missing space in ADmin documentation for related fields

Reported by: Maximillian Dornseif <md@…> Owned by: Adrian Holovaty
Component: contrib.admin Version: master
Severity: trivial Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


There is a space missing in Many to Many fields in Admin. Example: gifen a field like
models.ManyToManyField('Product', [...], help_text='Wenn [...]7150/01".') I get in Admin:

Wenn [...]7150/01".Mehrere IDs können mit Komma getrennt werden.
                  ^ missing space

The space between help_text and 'Separate multiple IDs with commas.' is missing. Easy fix:

Index: django/db/models/fields/
--- django/db/models/fields/	(revision 3841)
-        self.help_text = string_concat(self.help_text, msg)
+        self.help_text = string_concat(self.help_text, " ", msg)

complete patch at

Change History (1)

comment:1 Changed 10 years ago by Malcolm Tredinnick

Resolution: fixed
Status: newclosed

(In [3848]) Fixed #2817 -- Fixed formatting problem in admin help string. Thanks,
Maximillian Dornseif.

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