Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要做一些调试,因为我的一个模型的权限创建错误。所以我试图找到Django在syncdb上创建权限并将它们写入数据库的代码段,但我根本没有成功;也许我只是忽略了正确的代码行,但如果有人能指出发生这种情况的正确模块/代码行,我会非常高兴!
退房create_permissions;post_syncdb请注意,当它接收到信号时,它已连接到触发。
create_permissions
post_syncdb