Show task.to_dict() only when running in debug mode.
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user