Hi All,

Is it possible to set permission_classes for OR relation ?
for example I want to allow a logged in user or an admin user to this view, 
so I set:

permission_classes = (IsAuthenticated, IsAdminUser)

Is this correct?

Thank you!

-- 
You received this message because you are subscribed to the Google Groups 
"Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to