在html文件中可以使用
{{ moment.include_moment() }}
导入moment.js。但是在视图函数中没有传入moment变量,为什么在html文件中能直接使用呢?
http://www.cnblogs.com/agmcs/p/4446589.html