开发者

Extending South Introspection in Django

开发者 https://www.devze.com 2023-01-11 12:37 出处:网络
开发者_Go百科I have a custom app which I wanted to start using South with.It uses a FK for associating a blog entry from another app (proprietary, not written by me).Problem is when I try to run the i
开发者_Go百科

I have a custom app which I wanted to start using South with. It uses a FK for associating a blog entry from another app (proprietary, not written by me). Problem is when I try to run the initial schemamigration I get an error that some of the blog entry app's fields cannot be frozen. The fields that can't be frozen are fields that uses custom fields extended off of the core fields.

./manage.py schemamigration free --initial

I read South's docs on extending introspection but I don't know where/how to define the introspection rules.

Thanks in advance for any suggestions.


Have you tried the South Field Triple approach instead?

0

精彩评论

暂无评论...
验证码 换一张
取 消