#2817 closed defect (fixed)
[patch] missing space in ADmin documentation for related fields
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | contrib.admin | Version: | dev |
Severity: | trivial | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
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/related.py --- django/db/models/fields/related.py (revision 3841) [...] - self.help_text = string_concat(self.help_text, msg) + self.help_text = string_concat(self.help_text, " ", msg)
complete patch at http://c0re.23.nu/c0de/misc/django-3841-related_field_documation.diff
Note:
See TracTickets
for help on using tickets.
(In [3848]) Fixed #2817 -- Fixed formatting problem in admin help string. Thanks,
Maximillian Dornseif.