1. David Jean Louis
  2. django-admin-tools
  3. Issues
Issue #75 invalid

Cannot override original admin templates

Anonymous created an issue


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


    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