Custom panel form Django Debug Toolbar which display HTML Validation errors and warnings
Project description
HTML Tidy/Validator Panel for Django Debug Toolbar
========
The Django Debug Toolbar is a configurable set of panels that display various
debug information about the current request/response and when clicked, display
more details about the panel's content.
HTML Tidy or HTML Validatory is custom panel for Django Debug Panel which
validate your HTML and display warning and errors as panel.
Panel code based on PyTidyLib
Installation & Configuration
-----------------
1. Install and configure `django-debug-toolbar` app
1. Add the `debug_toolbar_htmltidy` directory to your Python path.
1. Add `debug_toolbar_htmltidy` to your `INSTALLED_APPS` in `settings.py` file:
***
INSTALLED_APPS += (
'debug_toolbar_htmltidy',
)
1. Add the following panel to your Django Debug Toolbar panels
configuration tuple in `settings.py` file:
***
DEBUG_TOOLBAR_PANELS = (
...
'debug_toolbar_htmltidy.panels.HTMLTidyDebugPanel',
)
1. Include in file which specified in `ROOT_URLCONF` setting in `settings.py`
url to `HTMLTidyDebugPanel` media:
***
url(r'^', include('debug_toolbar_htmltidy.urls'))
Running the Tests
-----------------
The HTML Tidy Panel for Django Debug Toolbar includes a test suite
::
python setup.py test
Tests result
=================
Django Debug Toolbar Status
------------------------------
1.1.1 0.8.5 passed
1.1.1 0.8.4 passed
1.1.1 0.8.3 passed
1.1.1 0.8.2 passed
1.1.1 0.8.1 failed
1.1.1 0.8.0 failed
1.2 0.8.5 passed
1.2 0.8.4 passed
1.2 0.8.3 passed
1.2 0.8.2 passed
1.2 0.8.1 failed
1.2 0.8.0 failed
1.3 0.8.5 passed
1.3 0.8.4 passed
1.3 0.8.3 passed
1.3 0.8.2 passed
1.3 0.8.1 failed
1.3 0.8.0 failed
TODOs and BUGS
==============
See: [issue tracker on github](https://github.com/joymax/django-dtpanel-htmltidy/issues)
========
The Django Debug Toolbar is a configurable set of panels that display various
debug information about the current request/response and when clicked, display
more details about the panel's content.
HTML Tidy or HTML Validatory is custom panel for Django Debug Panel which
validate your HTML and display warning and errors as panel.
Panel code based on PyTidyLib
Installation & Configuration
-----------------
1. Install and configure `django-debug-toolbar` app
1. Add the `debug_toolbar_htmltidy` directory to your Python path.
1. Add `debug_toolbar_htmltidy` to your `INSTALLED_APPS` in `settings.py` file:
***
INSTALLED_APPS += (
'debug_toolbar_htmltidy',
)
1. Add the following panel to your Django Debug Toolbar panels
configuration tuple in `settings.py` file:
***
DEBUG_TOOLBAR_PANELS = (
...
'debug_toolbar_htmltidy.panels.HTMLTidyDebugPanel',
)
1. Include in file which specified in `ROOT_URLCONF` setting in `settings.py`
url to `HTMLTidyDebugPanel` media:
***
url(r'^', include('debug_toolbar_htmltidy.urls'))
Running the Tests
-----------------
The HTML Tidy Panel for Django Debug Toolbar includes a test suite
::
python setup.py test
Tests result
=================
Django Debug Toolbar Status
------------------------------
1.1.1 0.8.5 passed
1.1.1 0.8.4 passed
1.1.1 0.8.3 passed
1.1.1 0.8.2 passed
1.1.1 0.8.1 failed
1.1.1 0.8.0 failed
1.2 0.8.5 passed
1.2 0.8.4 passed
1.2 0.8.3 passed
1.2 0.8.2 passed
1.2 0.8.1 failed
1.2 0.8.0 failed
1.3 0.8.5 passed
1.3 0.8.4 passed
1.3 0.8.3 passed
1.3 0.8.2 passed
1.3 0.8.1 failed
1.3 0.8.0 failed
TODOs and BUGS
==============
See: [issue tracker on github](https://github.com/joymax/django-dtpanel-htmltidy/issues)
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
File details
Details for the file django-dtpanel-htmltidy-0.1.1.tar.gz
.
File metadata
- Download URL: django-dtpanel-htmltidy-0.1.1.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c895d0d53a4eea768576aaf36a86ce90faff20f904bf63b53b6d46df75d37e19 |
|
MD5 | e6fbff7da4bc7ba849f2502ea44ac830 |
|
BLAKE2b-256 | b9001a1780cbaa88cf3222e388ce9cd8daeac74d6e21033b8e56436399f4dc7c |