[Django]-Whats the difference between DjangoModelPermissions and DjangoObjectPermissions

9👍

DjangoModelPermissions is all about permissions to interact with a database table which are represented as models in code while DjangoObjectPermissions are permissions to interact with individual rows in the table which are model instances in code.
Basically, the object permissions are granular permissions which give access to some rows in a table but can restrict access to other rows in the same table

Leave a comment