django-debug-toolbar与django-cms和Django 1.3 [英] django-debug-toolbar with django-cms and Django 1.3

查看:211
本文介绍了django-debug-toolbar与django-cms和Django 1.3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



MpttMeta没有属性 class

strong>'



我有一种感觉,它与Django CMS绑定的Mptt应用程序有关,但我不确定,我已经看到几个项目,但我很惊讶,我找不到直接的命中谷歌的错误消息,所以我以为我会发布在这里。



我试过使用最新发布版本的调试工具栏,也是开发分支,还有dcramer的fork,但它没有什么区别。我在Django 1.3和Django CMS 2.1.3。



任何想法?



谢谢! p>

解决方案

可能是与Django 1.3相关的任何问题。



Django CMS 2.1.3仅支持1.2.X分支: http:/ /docs.django-cms.org/en/2.1.3/getting_started/installation.html#requirements



Django CMS dev的Jonas Obrist说:可能是一个次要版本的
2.1将添加官方1.3支持


I keep hitting an error when trying to use django-debug-toolbar and django-cms together.

"MpttMeta has no attribute 'class'"

I have a feeling it's something to do with the Mptt app bundled with Django CMS, but I'm not sure, and I've seen this on a few projects but I'm surprised I can't find a direct hit for the error message in Google so I thought I'd post here.

I've tried using latest released version of debug toolbar, also the develop branch, and also dcramer's fork, but it's making no difference. I'm on Django 1.3 and Django CMS 2.1.3.

Any ideas?

Thanks!

解决方案

It could be any problem related to Django 1.3.

Django CMS 2.1.3 supports only 1.2.X branch: http://docs.django-cms.org/en/2.1.3/getting_started/installation.html#requirements

Jonas Obrist, Django CMS dev says "Maybe a minor version of 2.1 will add official 1.3 support"

这篇关于django-debug-toolbar与django-cms和Django 1.3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆