- Added Django 3 and 4 support
- Dropped Python 2.7 support.
- Dropped Django 1.10 / 1.11 support.
- Added Django 3.0 support.
- Reformatted with isort and black.
- Fixed Python 3.6 function display.
- Fixed Django 2.0 imports.
- Add
__len__to the output of objects.
- Fixed raising exceptions on
hasattr()check, which may invoke the property too - Fixed displaying
RuntimeErroron invalid attributes. - Fixed appearance of exception messages, and other informative output.
- Added Django 1.10 MiddlewareMixin for
XViewMiddleware. - Fixed Python 3 compatibility.
- Avoid calling functions like
clean*andcopyin debugging functions. This is an extra safety guard, which protects Wagtail 1.7 and below from copying pages.
- Improved the debug panel to show models, forms and formsets too.
- Fixed Python 3 compatibility.
- Improved appearance of output.
- Better dict/list expansion.
- Better appearance of exceptions.
- Simplier appearance of BlockNode
- Fixed
,sign at the end of values.
- Fixed Django 1.7+ block rendering in general
{% print %}display. - Fixed HTML of 'empty dict' message.
- Fixed deprecation warning.
- Added Django 1.9 support, use
builtinsin the settings to add the tag, or{% load debugtools_tags %}instaed. - Fixed manifest, added missing
static/debugtools/jquery.debug.jsfile in the package. - Dropped Django 1.5- support for
{% print_queries %}.
- Avoid
X-View-Templateoutput whentemplate_nameisNone. - Added django-debug-toolbar panel:
debugtools.panels.ViewPanel.
- Added Django 1.8 support
- Clarify the
<skipped for safety reasons ..>message for...delete...()and...save...()methods in the{% print %}output.
- Added Django 1.7 support
- Added Python 3 support
- Dropped Django 1.3 support
- Better CSS clearing
- Avoid calling
save()ordelete()even whenalters_dataflag is missing. That typically happens when those methods are overwritten.
- Better error message for
{% print non_existing_var %}. - Optimize
XViewMiddleware, usingfind_template()instead ofget_template(). - Fix
XViewMiddlewareerror with custom object-based views (e.g. the oldFormWizard) - Fix formatting the first object in a dictionary.
- Handle
NoReverseMatcherror in{% print %}tag. - Add
text-align: left;to{% print %}tag.
- Improved
printtag:
- Better support printing
Model,ManagerandBoundFieldclasses.- Reduce clutter of context levels, by collapsing long variables and improving display.
- No longer need to use
{% load debug_tags %}, can always use{% print %}directly.- Fix displaying functions when all arguments have default values.
- Fix displaying
__unicode__if__str__is not present.- Fix
z-indexissues in the output.
- The
X-Template-Nameheader shows the chosen template name if there is a list of choices. - Fix missing template for
{% print_queries %}tag.
- Enhanced
printtag:
- Added CSS styling.
- Added JavaScript collapsing for context blocks.
- Support printing of
ugettext_lazyvalues.- Support printing template expressions.
- Support printing
BaseForm.__getitem__values.- Support printing functions that are callable by Django templates.
- Added
XViewMiddlewareto print view + template name. - Added simple
print_queriestemplate tag. - Added jQuery
debug()function.
First public beta release
printtemplate tag