Django admin- constrain visibility of models and model instances based on who logged in

Posted by theactiveactor on Stack Overflow See other posts from Stack Overflow or by theactiveactor
Published on 2010-05-29T04:16:51Z Indexed on 2010/05/29 4:22 UTC
Read the original article Hit count: 263

Filed under:
|

Using the django admin, I would like to be able to specify which models a user sees when he logs in. For a stretch goal, for each model types a user can see, I would like to specify a filter to limit which instances of the model the user can see.

Could someone please provide a pointer for how to go about achieving this?

© Stack Overflow or respective owner

Related posts about django

Related posts about django-admin