Django Admin - Allow models to be shown for is_staff users
问题 I need to make some Django models available for is_staff=True users in the Django admin interface. I do not want to go for each user and assign them permissions or group permissions to the staff users. Which method do I need to override in ModelAdmin or BaseModelAdmin class or is there any other simpler way? I am using Django 1.4 Version 回答1: class TeacherAdmin(admin.ModelAdmin): def has_add_permission(self, request): return True def has_change_permission(self, request, obj=None): return True