iommi_demo.app.rules¶
Contains django-rules object-based permissions.
Rules should be put in the model files for a given model, but it’s all done here so it’s in one place and easier to remove if you don’t want it.
https://github.com/dfunckt/django-rules
Functions¶
Registers the rules that determine who can and can't access which models. |
Module Contents¶
- iommi_demo.app.rules.register_rules()¶
Registers the rules that determine who can and can’t access which models.