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 details)
Built Distribution
File details
Details for the file djt_nvu-0.9.2.tar.gz
.
File metadata
- Download URL: djt_nvu-0.9.2.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.8.0 tqdm/4.48.2 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
65cdcad7ade5ee95d16059b0a895c6390b476ec47aac3dfb1672b9839cfcd398
|
|
MD5 |
eefee5655c6d40c3d395a27b268cbe29
|
|
BLAKE2b-256 |
019f76185dd036d267eaedecc4b77a15c38094db7bc67dd79a248f1b693a6026
|
File details
Details for the file djt_nvu-0.9.2-py3-none-any.whl
.
File metadata
- Download URL: djt_nvu-0.9.2-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.8.0 tqdm/4.48.2 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
88ba30e4cc60ef3bed6e600f3a446c7e2b9e4b95f5646f3effcdad9b5bca115c
|
|
MD5 |
35fe11b31a2c06a17076ffbf74192a6c
|
|
BLAKE2b-256 |
3dcb34b7651c4b42aa086f00797a0adae38cadd92210ce27a150d34daf20300a
|