自定义面板窗体Django调试工具栏,其中显示HTML验证错误和警告
django-dtpanel-htmltid的Python项目详细描述
用于django调试工具栏的html tidy/validator面板
==
django调试工具栏是一组可配置的面板,其中显示有关当前请求/响应的各种调试信息,单击时显示有关面板内容的详细信息。
html tidy或html validator是django调试的自定义面板面板,用于验证HTML并将警告和错误显示为面板。
安装并配置“django调试工具栏”应用程序
1。将“调试工具栏”htmltidy目录添加到python路径中。
1。在“settings.py”文件中的“installed_apps”中添加“debug_toolbar_htmlitiy”:
**
installed_apps+=(
“debug_toolbar_htmlitiy”,
)
1。将以下面板添加到“settings.py”文件中的django调试工具栏面板
配置元组:
**
debug_toolbar_panels=(
…
“debug_toolbar_htmltidy.panels.htmltidy debug panel”,
1。包含在“settings.py”
“htmltidydebugpanel”媒体的“root urlconf”设置中指定的文件中:
**
url(r'^',include('debug_toolbar_html tidy.urls'))
运行测试
----
>Django调试工具栏的HTML整洁面板包括一个测试套件
:
测试结果
=工具栏状态
1.1.1 0.8.5已通过
1.1.1 0.8.4已通过
1.1.1 0.8.3已通过
1.1.1 0.8.8.2已通过
1.1.1.1 0.8.1 0.8.1失败
1.1.1 0.1 0.8.0失败
1.2 0.8.8.4已通过
1.2 0.0.8.8.3已通过
1.1.1.1.1.1.1
1.2 0.8.1失败
1.2 0.8.0失败
1.3 0.8.5已通过
1.3 0.8.4已通过
1.3 0.8.3已通过
1.3 0.8.2已通过
1.3 0.8.1失败
1.3 0.8.0失败
===
请参阅:[github上的问题跟踪程序](https://github.com/joymax/django-dtpanel-htmltiy/issues)
==
django调试工具栏是一组可配置的面板,其中显示有关当前请求/响应的各种调试信息,单击时显示有关面板内容的详细信息。
html tidy或html validator是django调试的自定义面板面板,用于验证HTML并将警告和错误显示为面板。
安装并配置“django调试工具栏”应用程序
1。将“调试工具栏”htmltidy目录添加到python路径中。
1。在“settings.py”文件中的“installed_apps”中添加“debug_toolbar_htmlitiy”:
**
installed_apps+=(
“debug_toolbar_htmlitiy”,
)
1。将以下面板添加到“settings.py”文件中的django调试工具栏面板
配置元组:
**
debug_toolbar_panels=(
…
“debug_toolbar_htmltidy.panels.htmltidy debug panel”,
1。包含在“settings.py”
“htmltidydebugpanel”媒体的“root urlconf”设置中指定的文件中:
**
url(r'^',include('debug_toolbar_html tidy.urls'))
运行测试
----
>Django调试工具栏的HTML整洁面板包括一个测试套件
:
测试结果
=工具栏状态
1.1.1 0.8.5已通过
1.1.1 0.8.4已通过
1.1.1 0.8.3已通过
1.1.1 0.8.8.2已通过
1.1.1.1 0.8.1 0.8.1失败
1.1.1 0.1 0.8.0失败
1.2 0.8.8.4已通过
1.2 0.0.8.8.3已通过
1.1.1.1.1.1.1
1.2 0.8.1失败
1.2 0.8.0失败
1.3 0.8.5已通过
1.3 0.8.4已通过
1.3 0.8.3已通过
1.3 0.8.2已通过
1.3 0.8.1失败
1.3 0.8.0失败
请参阅:[github上的问题跟踪程序](https://github.com/joymax/django-dtpanel-htmltiy/issues)