#2237 closed defect (duplicate)
Setting TEMPLATE_STRING_IF_INVALID causes admin page headline to vanish
Reported by: | Russell Keith-Magee | Owned by: | Adrian Holovaty |
---|---|---|---|
Component: | contrib.admin | Version: | dev |
Severity: | normal | Keywords: | admin TEMPLATE_STRING_IF_INVALID |
Cc: | farcaller@… | Triage Stage: | Unreviewed |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Vladimir Pouzanov <farcaller@…> reports:
When I add
TEMPLATE_STRING_IF_INVALID = 'INVALID'
to my config, first page of admin (i.e. http://127.0.0.1:8000/admin/) is rendered without 'Django administration' headline.
Note:
See TracTickets
for help on using tickets.
A few more details: The headline is missing from the main page; if you follow a link to a model, the headline comes back, but the column titles for object instances are rendered as the text "INVALID" (or whatever you set TEMPLATE_STRING_IF_INVALID to be).