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/"
Release files for djt-nvu 0.9.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| djt_nvu-0.9.2.tar.gz | 4.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| djt_nvu-0.9.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.5 kB
Release files / djt_nvu-0.9.2.tar.gz
| Download URL | djt_nvu-0.9.2.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
65cdcad7ade5ee95d16059b0a895c6390b476ec47aac3dfb1672b9839cfcd398
|
|
BLAKE2b-256 checksum How to use checksums |
019f76185dd036d267eaedecc4b77a15c38094db7bc67dd79a248f1b693a6026
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / djt_nvu-0.9.2-py3-none-any.whl
| Download URL | djt_nvu-0.9.2-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
88ba30e4cc60ef3bed6e600f3a446c7e2b9e4b95f5646f3effcdad9b5bca115c
|
|
BLAKE2b-256 checksum How to use checksums |
3dcb34b7651c4b42aa086f00797a0adae38cadd92210ce27a150d34daf20300a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|