From the admin I see that you can allocate permissions to a user or a user group to :allow add, change or delete data from a model.
That is great, but I also need t
If you are using Django 1.9+, you should be able to use PermissionRequiredMixin:
For example:
from django.contrib.auth.mixins import PermissionRequiredMixin
class MainView(PermissionRequiredMixin, View):
permission_required = 'my_services.foo_bar'
...
This is basically a special case of UserPassesTestMixin
, designed specifically to test whether the user has the indicated permission.