Use decorator user_passes_test from django.contrib.auth.decorator
U will find all required docs in django docs.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send e
On Sat, Jul 25, 2009 at 6:33 AM, Júlio Cesar wrote:
>
> Hey, Guys,
>
> There are some permissions that I would like to add in my project,
> associated with acess a some views, particularly.
>
> But, there's no a clean mode to do this, because all permissions are
> associated with ContentTypes, rig
Hey, Guys,
There are some permissions that I would like to add in my project,
associated with acess a some views, particularly.
But, there's no a clean mode to do this, because all permissions are
associated with ContentTypes, right?
I thought in obscure forms, like force create a content type