Opened 14 years ago
Closed 14 years ago
#14313 closed (invalid)
wrong display of field title in admin
Reported by: | Julian | Owned by: | nobody |
---|---|---|---|
Component: | contrib.admin | Version: | 1.2 |
Severity: | 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
I have a model with a field *timestamp_month* which I've added to the *list_display* field of the model's admin. In the template it's displayed as:
<a href="?timestamp_month__isnull=False&timestamp_year__isnull=True&o=4&ot=asc"> Timestamp </a></th><th> <a href="?timestamp_month__isnull=False&timestamp_year__isnull=True&o=5&ot=asc"> Month </a></th>
Hence the HTML is generated deep down anywhere in the python code, I cannot provide a solution.
Note:
See TracTickets
for help on using tickets.
Could you reduce your model and correspoding ModelAdmin to the minimal expression needed to reproduce the bug and paste it here please?.