Show task.to_dict() only when running in debug mode.
This commit is contained in:
@@ -80,9 +80,10 @@
|
|||||||
|
|
||||||
#item-view-feed
|
#item-view-feed
|
||||||
| Task updated {{ task._updated | pretty_date }}
|
| Task updated {{ task._updated | pretty_date }}
|
||||||
|
| {% if config.DEBUG %}
|
||||||
pre.
|
pre.
|
||||||
{{ task.to_dict() | pprint }}
|
{{ task.to_dict() | pprint }}
|
||||||
|
| {% endif %}
|
||||||
|
|
||||||
script.
|
script.
|
||||||
$("#assignees").select2();
|
$("#assignees").select2();
|
||||||
|
Reference in New Issue
Block a user