The errors I got before seeing the acutal django cms page...
来源:互联网 发布:交易开拓者 编程 编辑:程序博客网 时间:2024/05/17 07:26
After going through this tutorial (http://docs.django-cms.org/en/2.2/getting_started/tutorial.html), before seeing the cms page, I got erros as followed (in fact, very naive problems, just not much helpful google results from search...):
AttributeError: 'Settings' object has no attribute 'CMS_MODERATOR'
add this into settings.py:
CMS_MODERATOR = True
AttributeError: 'Settings' object has no attribute 'CMS_PERMISSION'
add this into settings.py:
CMS_PERMISSION = True
AttributeError: 'Settings' object has no attribute 'CMS_LANGUAGES'
add this into settings.py:
CMS_LANGUAGES = (('en', gettext('English')),
)
No module named classytags.arguments
run this to install django-classy-tags:
pipinstall django-classy-tags
ImportError: No module named html5lib
run this to install html5lib:
pip install html5lib
==
finally see the first page...
This process took me much longer than Drupal, which does not need much extra background knowledges before you can see the usable website. For django, you need to know a little python, then a little bit how its modules are organized, and the knowledge of linux platform is so important as well, as it saves you much time, compared with my first try using WIN7...
==
ps, in django, placeholders + plugins == so powerful for a simple website!!!
- The errors I got before seeing the acutal django cms page...
- Errors I got in django cms configurating process
- Mai-a-hee mai-a-hu. I got the first place and the second place in goole page ranking.
- WebKit Page Cache I – The Basics
- Product Manager: Seeing Through the Cloud
- some practice with django (still before the real world appears..)
- Got the US visa
- Got the job
- Seeing The World As The Shell Sees It
- Errors reported here must be corrected before the service can be started
- Errors reported here must be corrected before the service can be started.
- Django:The translation infrastructure cannot be initialized before the apps registry is ready
- The status before the match
- xml文件使用浏览器打开,提示"This page contains the following errors"解决办法
- Seeing numbers in Ruby with r attached to the number
- Vision and Art ,The Biology of Seeing 读书笔记
- Seeing the Big Picture:Deep Embedding with Contextual Evidences
- IV-Before the Interview
- Silverlight/Windows8/WPF/WP7/HTML5周学习导读(9月3日-9月9日)
- 【每日N题】海量数据处理-1
- Configuration.buildSessionFactory()过时之后,获取SessionFactory的Util类写法及一些设想
- Java大数
- 一个非常好的ABNF免费解析器
- The errors I got before seeing the acutal django cms page...
- c#设置取消ie代理服务器
- android Content Provider详解四
- Hibernate工具类模版
- Hibernate: Session对象中的两个保存记录的方法 save vs. persist
- 记录Record和PL/SQL表
- Hibernate中对象的三种状态以及Session类中saveOrUpdate方法与merge方法的区别
- 【怎么测试】1. 如何测试命令行程序?
- Oracle复合变量之RECORD