Django: Is there a way to display a variable in a Django template like
foo.inspect in Rails?
Rails provides an awesome way to inspect variable contents in a template:
<%= foo.inspect %>. Is that possible to do the same in Django? {% debug %}
is a bit too messy.
No comments:
Post a Comment