【发布时间】:2015-04-16 06:05:44
【问题描述】:
我正在处理一个旧的 django-cms 项目,并试图编辑 base.html 文件,当我重新加载页面时没有反映任何更改。
但是如果我删除该文件中的所有行,django runserver 拒绝开始显示错误
django.core.exceptions.ImproperlyConfigured: The 'js' and 'css' sekizai namespaces must be present in each template, - or a template it inherits from - defined in CMS_TEMPLATES. I can't find the namespaces in 'project/cms/home.html'.
他们为什么没有反映在页面重新加载或服务器重新启动中的其他更改,例如添加新类。
注意: 该项目目前运行良好。我试图稍微修改一下。当我重新加载页面时,我在 css 页面中所做的更改会得到反映。只有当我尝试编辑 HTML 页面时才会出现问题
【问题讨论】:
标签: python html django django-cms