Issue #75 invalid

Cannot override original admin templates

Anonymous created an issue

Hi,

I' ve made some modifications to original templates. Then I added django-admin-tools, but then the former modifications dissappear.

I have tried different folders but I'm unable to override change_list.html in the whole admin.

Comments (3)

  1. David Jean Louis repo owner

    Hi,

    If you're only overriding the change_list.html template this should work perfectly, just put your template in your TEMPLATE_DIR/admin/ directory.

    OTOH, if you are overriding other templates (base,base_site,app_index or index.html) you *must* override django-admin-tools templates, not the contrib admin ones.

    PS: please do not open issues to ask questions, ask the mailing list instead: https://groups.google.com/forum/#!forum/django-admin-tools

    -- David

  2. Log in to comment