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
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
2 matches
Mail list logo