Dnia 2011-07-05, wto o godzinie 15:16 -0700, galgal pisze:
> Is there any possibility to change permissions list in user edit page?
> I don't wan't to show all of permissions for example admin log entry
> or auth group etc. How can I modify a main queryset to exclude some of
> it? 

Override ModelAdmin.get_form(), get form_class from super() and modify
form_class.base_fields['fieldname'].queryset.

-- 
Michał (Saviq) Sawicz <[email protected]>

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to