Re: Permissions independent of models

2009-07-25 Thread Prathamesh Paiyyar
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

Re: Permissions independent of models

2009-07-24 Thread Russell Keith-Magee
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

Permissions independent of models

2009-07-24 Thread Júlio Cesar
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