【发布时间】:2011-09-15 16:10:27
【问题描述】:
我正在开始一个新的 django 项目,并且像往常一样,我将安装的应用程序放在南方。
然后我需要某种 eav 来在模型中存储一些字段,然后我找到了一个完全符合我要求的应用程序,那就是 django-eav (https://github.com/mvpdev/django-eav)
但现在我面临一个问题,因为南抱怨不知道如何使用 django-eav。
! Cannot freeze field 'eav.attribute.slug'
! (this field has class eav.fields.EavSlugField)
! Cannot freeze field 'eav.attribute.datatype'
! (this field has class eav.fields.EavDatatypeField)
! South cannot introspect some fields; this is probably because they are custom
! fields. If they worked in 0.6 or below, this is because we have removed the
! models parser (it often broke things).
! To fix this, read http://south.aeracode.org/wiki/MyFieldsDontWork
我正在阅读这个http://south.aeracode.org/docs/customfields.html,并且我正在尝试在不放弃这两个项目中的任何一个的情况下解决这个问题。
有人可以帮助我吗? 谢谢
【问题讨论】:
标签: python django entity-attribute-value django-south