2017-02-28 4 views

答えて

0

は同じ構造を保存し、このファイルを複製 - https://github.com/django-admin-tools/django-admin-tools/blob/master/admin_tools/theming/templates/admin/base.html

を次に{% render_theming_css %}追加した後:

<style type="text/css"> 
    #header #branding h1 { 
     background-image: url("../path/to/your/image.png"); 
    } 
</style> 

をここでテンプレートをオーバーロードする方法についてのドキュメントがあります - https://docs.djangoproject.com/en/dev/ref/contrib/admin/#overriding-vs-replacing-an-admin-template

関連する問題