标签:blog for div 问题 代码 log sp on c
djangocms集成到现有项目中后,发现了几个问题:
1. 现有项目的url匹配失效,下面requests请求被交给djangocms处理了
url(r‘^admin/‘, include(admin.site.urls)), url(r‘^requests/‘,include(‘eForm.urls‘)), url(r‘^todolist/‘,include(‘formset_test.urls‘)), url(r‘^‘, include(‘cms.urls‘)),
2. 现有项目默认读取浏览器语言,结果,这个特性也失效了,而且配置language_code也不起作用:
LANGUAGE_CODE = ‘zh‘ LANGUAGES = ( ## Customize this (‘en‘, gettext(‘en‘)), (‘zh‘, gettext(‘zh-CN‘)), )
3.
标签:blog for div 问题 代码 log sp on c
原文地址:http://www.cnblogs.com/Tommy-Yu/p/3951130.html