Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/django/22.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
使用引导设置Django管理面板的样式_Django_Django Admin_Django Bootstrap3 - Fatal编程技术网

使用引导设置Django管理面板的样式

使用引导设置Django管理面板的样式,django,django-admin,django-bootstrap3,Django,Django Admin,Django Bootstrap3,我想让我的django管理员具有响应性,因此我使用twitter的引导程序,正如我所经历的以下步骤所述: pip安装django-bootstrap3 在已安装的应用程序中包括bootstrap3 python manage.py collectstatic 但我仍然没有得到管理员响应。django-bootstrap3插件本身实际上没有进行任何模板更改;它只是让Bootstrap3和一些有用的模板标记和过滤器可以在模板中使用。要使用bootstrap3设计管理站点的样式,您可以使用专门实现这一

我想让我的django管理员具有响应性,因此我使用twitter的引导程序,正如我所经历的以下步骤所述:

  • pip安装django-bootstrap3
  • 在已安装的应用程序中包括bootstrap3
  • python manage.py collectstatic

  • 但我仍然没有得到管理员响应。

    django-bootstrap3插件本身实际上没有进行任何模板更改;它只是让Bootstrap3和一些有用的模板标记和过滤器可以在模板中使用。要使用bootstrap3设计管理站点的样式,您可以使用专门实现这一点的插件,比如(我个人无法担保,尽管它看起来不错),也可以。

    django admin bootstrap自动响应,因为bootstrap默认为它。