zinnia-theme-bootstrap 使用过程中的问题
2017-02-27 20:43
162 查看
使用django 1.1版本 + django-blog-zinnia + zinnia-theme-bootstrap 搭建博客的时候会出现如下两个错误,解决方式为:
1、Invalid syntax for cycle tag in entry_detail_base.html
错误提示:This results in error No named cycles in template. 'box1,box2' is not defined when rendering the blog entry.
解决方法:把标志 {% cycle box1,box2 %} 改为 {% cycle 'box1' 'box2' %}
2、'future' is not a registered tag library. Must be one of:
django 1.8之后就不在兼容 future,并且在django 1.10中已去掉future
解决方法:把 {% load firstof from future %} 这句话去掉以兼容django 1.1
django+django-blog-zinnia+zinnia-theme-bootstrap 的博客例子可以参考www.hzhlog.cn
相关文章推荐
- bootstrap-loader使用过程中遇到的几个坑爹问题
- 浅谈bootstrap使用中的一些问题以及解决过程
- bootstrap使用中的一些问题以及解决过程
- 浅谈bootstrap使用中的一些问题以及解决过程
- Windows下Git服务器搭建及使用过程中的一些问题
- 使用jUnit对代码进行测试以及测试过程中遇到的问题
- 关于在使用codeblocks+wxWidgets的过程中遇到的问题及解决
- Android WebView 使用过程中遇到的问题与总结
- Velocity使用过程中出现的ParseErrorException问题
- 在electron中使用bootstrap的问题:Uncaught error: bootstrap's javascript requires jquery
- taokeeper在使用过程中的问题
- VS2010--2013使用技巧及使用过程中遇到的问题
- Android系统Recovery工作原理之使用update.zip升级过程分析(二)---update.zip差分包问题的解决
- 总结zTree使用过程中遇到的问题
- asp.net 使用Ueditor过程中出现的问题及解决办法
- dubbo-admin使用过程中报错URIType的问题
- RecyclerView使用过程中遇到的几点问题
- .net中FCKeditor与theme使用不能上传问题
- 说一说struts2 验证框架使用过程中遇到的问题
- 在windows xp下使用dbca创建数据库过程中出现的问题及解决方法