Hi.
I want to let staff users to add users, and let them to change user details. But I want to make some restrictions, like changing name of the user.
What is the best way to do that?
Hi.
I want to let staff users to add users, and let them to change user details. But I want to make some restrictions, like changing name of the user.
What is the best way to do that?
See the ModelAdmin functions such as readonly_fields. You should be able to find the appropriate functions to use to build whatever restrictions or permissions you wish to enforce.