On Fri, 13 Sep 2013 11:30:44 -0700 Lee Hinde <leehi...@gmail.com> wrote:
> So, the question, is there a way to wrap url include calls in a
> permission check?

Wrapping a whole url-include would only work when the url-tree is
rebuild for each request taking into account the requesting user.
Todays technologies don't do that anymore.

I would encourage you to look at django-braces and just use the
PermissionRequiredMixin with your class-based-views.

Have fun,

Arnold

Attachment: signature.asc
Description: PGP signature

Reply via email to