

def init_request(self, version_id):
    if ((not self.has_change_permission()) and (not self.has_add_permission())):
        raise PermissionDenied
    self.version = get_object_or_404(Version, pk=version_id)
    version_id.org_obj = self.version.object_version.object
    self.prepare_form()

dataset/ETHPy150Open sshwsfc/xadmin/xadmin/plugins/xversion.py RecoverView.init_request/VarMisuse@52/67 `self`->`version_id`