Show task.to_dict() only when running in debug mode.

This commit is contained in:
2016-10-11 14:15:37 +02:00
parent cabac18f33
commit 73f19ef29a

View File

@@ -80,9 +80,10 @@
#item-view-feed
| Task updated {{ task._updated | pretty_date }}
| {% if config.DEBUG %}
pre.
{{ task.to_dict() | pprint }}
| {% endif %}
script.
$("#assignees").select2();