Panel for Django-debug-toolbar that checks againt a HTML validator
Project description
djt_nvu
Add a panel to django-debug-toolbar for checking your HTML against a validator.
Just install djt-nvu
...
python3 -m pip install djt-nvu
... and add "djt_nvu.panel.W3ValidatorPanel" to your settings DEBUG_TOOLBAR_PANELS
.
By default, djt_nvu
checks against "https://html5.validator.nu/" but you can change it by adding a setting DJT_NVU_URL
.
# django-debug-toolbar
DEBUG_TOOLBAR_PANELS = [
"debug_toolbar.panels.versions.VersionsPanel",
"debug_toolbar.panels.timer.TimerPanel",
"djt_nvu.panel.W3ValidatorPanel",
"debug_toolbar.panels.settings.SettingsPanel",
"debug_toolbar.panels.profiling.ProfilingPanel",
"debug_toolbar.panels.headers.HeadersPanel",
"debug_toolbar.panels.request.RequestPanel",
"debug_toolbar.panels.sql.SQLPanel",
"debug_toolbar.panels.templates.TemplatesPanel",
"debug_toolbar.panels.staticfiles.StaticFilesPanel",
"debug_toolbar.panels.cache.CachePanel",
"debug_toolbar.panels.signals.SignalsPanel",
"debug_toolbar.panels.redirects.RedirectsPanel",
]
DJT_NVU_URL = "https://html5.validator.nu/"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
djt_nvu-0.9.2.tar.gz
(4.7 kB
view hashes)