views:

49

answers:

1

Hi All,

I am working on a Django project where I need to change almost half the features and the way Django admin manages the models. For e.g. I have to create an application and then create an administrator and assign that application such that this admin can manage only that particular application. The administrators would be created by the global administrator of the project using the admin panel.

Please suggest.

Thanks in advance.

+1  A: 

You can control who has access read/write/delete to what applications' data via the admin using permissions.

Lakshman Prasad
Thanks for your reply Lakshman. But I far as I know Permissions are set per type of object and not per specific object instance. However, my requirement is to assign permissions per specific object instance.
Ankit Jaiswal
Ankit: You can customize the queryset used on the admin. Here you go: http://github.com/leohemanth/new_pos/blob/old_repair/mksites/admin.py
Lakshman Prasad