如何在设置satchmo时首次亮相模板合成错误?

时间:2013-03-08 16:29:32

标签: django satchmo

我正在尝试使用网站中提供的说明安装satchmo。除管理员部分外,一切正常。我点击http://<SERVER_NAME>/admin的那一刻,我收到以下错误:

  

'admin_static'不是有效的标记库:模板库   找不到admin_static,试过了   django.templatetags.admin_static,satchmo_store.shop.templatetags.admin_static,django.contrib.admin.templatetags.admin_static,django.contrib.comments.templatetags.admin_static,sorl.thumbnail.templatetags.admin_static,livesettings.templatetags.admin_static,satchmo_utils。 thumbnail.templatetags.admin_static,satchmo_store.contact.templatetags.admin_static,tax.templatetags.admin_static,product.templatetags.admin_static,payment.templatetags.admin_static,satchmo_utils.templatetags.admin_static,app_plugins.templatetags.admin_static

我不知道为什么它会说它应该默认存在。

由于

2 个答案:

答案 0 :(得分:0)

您可能正在使用Django 1.5,它已放弃对satchmo尝试查找的admin_static标记的支持。降级到1.4.5.,你应该没问题。

答案 1 :(得分:0)

根据源文档,自2012年7月起,Satchmo目前需要Django 1.4+。 (现在修复了主页上过时的要求。)

相关问题