Permissions in the views of django admin

0

I am doing a web based system for several transport companies in django the issue is that it must be multi user but I am having a problem to display the data fix in the image that I put

all good that I display the data that way but this user is seeing operators that are not your company, the user ricardo belongs to the company colonel panchito lopez and is seeing operators of the company gonzalez quiñonez, I can not find a way to tell django that those who do not belong to that company do not show them to me, it has to do something with the permissions but not if it is possible to do it at the level of models and views ...

    
asked by Victor Gimenez 29.09.2018 в 21:22
source

0 answers