Re: Django ModelAdmin ignores has_delete_permission

2018-05-19 Thread Daniel Germano Travieso
Hello! Ordinary staff users on the main django admin module are just standard django users that can access the admin site. Setting the has_add_permission, has_change_permission and has_delete_permission via the ModelAdmin should be done to customize the permissions for specific object instance

Django ModelAdmin ignores has_delete_permission

2018-05-18 Thread Vitaly Trifanov
I have simple project on Django 1.11.13, that uses ordinary Django's admin module. Staff user can not delete object while is permitted (has_delete_permission returns always true). models.py: class MyModel(models.Model): name = models.IntegerField("Value", blank=True, null=True) admin.py