Can anyone suggest a good open source app that uses django-guardian? I'm not having trouble understanding the API, but I'd love to see an example to get a feel for implementation best practice (database design, etc.)
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
If you clone the django-guardian source code you have a working example of how to use it. And in this link are the instructions for integrating it with django admin
回答2:
Django userena uses Django-guardian: https://github.com/bread-and-pepper/django-userena