- 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
RuntimeError
on 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*
andcopy
in 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
builtins
in the settings to add the tag, or{% load debugtools_tags %}
instaed. - Fixed manifest, added missing
static/debugtools/jquery.debug.js
file in the package. - Dropped Django 1.5- support for
{% print_queries %}
.
- Avoid
X-View-Template
output whentemplate_name
isNone
. - 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_data
flag 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
XViewMiddleware
error with custom object-based views (e.g. the oldFormWizard
) - Fix formatting the first object in a dictionary.
- Handle
NoReverseMatch
error in{% print %}
tag. - Add
text-align: left;
to{% print %}
tag.
- Improved
print
tag:
- Better support printing
Model
,Manager
andBoundField
classes.- 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-index
issues in the output.
- The
X-Template-Name
header shows the chosen template name if there is a list of choices. - Fix missing template for
{% print_queries %}
tag.
- Enhanced
print
tag:
- Added CSS styling.
- Added JavaScript collapsing for context blocks.
- Support printing of
ugettext_lazy
values.- Support printing template expressions.
- Support printing
BaseForm.__getitem__
values.- Support printing functions that are callable by Django templates.
- Added
XViewMiddleware
to print view + template name. - Added simple
print_queries
template tag. - Added jQuery
debug()
function.
First public beta release
print
template tag