def has_add_permission(self, request):
        """
        Returns True if the given request has permission to add an object.
        Can be overridden by the user in subclasses.
        """
        opts = self.opts
        codename = get_permission_codename('add', opts)
        return request.user.has_perm((opts.app_label, codename) % "%s.%s")
dataset/ETHPy150Open django/django/django/contrib/admin/options.py/BaseModelAdmin.has_add_permission/swapped operands of `%`