Opened 10 years ago

Closed 10 years ago

Last modified 7 years ago

#11473 closed (duplicate)

TEMPLATE_STRING_IF_INVALID breaks admin template

Reported by: Leo Shklovskii Owned by: nobody
Component: contrib.admin Version: master
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



  1. set TEMPLATE_STRING_IF_INVALID in settings to 'FOOBAR'
  2. view any object list page in the admin
  3. notice the checkbox on the left of the items is misaligned
  4. view source to see the following:
    <table cellspacing="0">

I suspect this is a pretty easy fix, I just couldn't figure out where to make it. The templates are pretty abstract/convoluted :-/

Change History (3)

comment:1 Changed 10 years ago by Ramiro Morales

Resolution: duplicate
Status: newclosed

This is known issue (#3579 tracks it). I don't dare to call it a bug because the behavior is documented (see the "For debug purposes only!" note at

comment:2 Changed 10 years ago by Leo Shklovskii

Thanks ramiro, totally missed #3579. You're right, the behavior is documented, but it still may be a good idea to change the admin templates to handle it better. Obviously, pretty low pri.

comment:3 Changed 7 years ago by Jacob

milestone: 1.1

Milestone 1.1 deleted

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