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.)
django-guardian example source code
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
This is an old answer so it might have become irrelevant now. But where do I look in the source? There's barely a few lines in example_project/models.py –
Tabber
Django userena uses Django-guardian: https://github.com/bread-and-pepper/django-userena
© 2022 - 2024 — McMap. All rights reserved.