Object Ownership in Django

后端 未结 3 2100
没有蜡笔的小新
没有蜡笔的小新 2021-01-31 12:22

I\'m wondering how I might accomplish a simple \'object ownership\' system with django models, such that, by default, only the owner of an object may edit it.

I am attem

3条回答
  •  生来不讨喜
    2021-01-31 13:00

    You can look into RowLevelPermissions branch. It hasn't been included even in 1.1 beta though, I guess it still needs some development.

提交回复
热议问题