How to show total run time in seconds in Python templates using {{ curly brackets }}?

前端 未结 0 834
梦如初夏
梦如初夏 2020-12-20 16:27

We use python and format the runtime (taken from django) like this:

{{ job.crawl_time|date:"f" }}s

Only this outputs microseconds

相关标签:
回答
  • 消灭零回复
提交回复
热议问题