'The url prefix to be used by XModules to call into handle_ajax'

@property
def ajax_url(self):

    assert (self.xmodule_instance is not None)
    return self.handler_url(self.xmodule_instance, 'xmodule_handler', '', '').rstrip('/?')
