ModelAdmin.has_module_permission(request)
Should return True
if displaying the module on the admin index page and accessing the module’s index page is permitted, False
otherwise. Uses User.has_module_perms()
by default. Overriding it does not restrict access to the add, change or delete views, has_add_permission()
, has_change_permission()
, and has_delete_permission()
should be used for that.
Please login to continue.