dbapi.py
changeset 5713 605f571198eb
parent 5508 6718ba5db0eb
child 5764 ec5dbbb6a549
--- a/dbapi.py	Thu Jun 10 14:16:47 2010 +0200
+++ b/dbapi.py	Thu Jun 10 14:16:48 2010 +0200
@@ -20,8 +20,8 @@
 Take a look at http://www.python.org/peps/pep-0249.html
 
 (most parts of this document are reported here in docstrings)
+"""
 
-"""
 __docformat__ = "restructuredtext en"
 
 from logging import getLogger
@@ -573,6 +573,7 @@
         """
         from cubicweb.web.request import CubicWebRequestBase as cwrb
         DBAPIRequest.build_ajax_replace_url = cwrb.build_ajax_replace_url.im_func
+        DBAPIRequest.ajax_replace_url = cwrb.ajax_replace_url.im_func
         DBAPIRequest.list_form_param = cwrb.list_form_param.im_func
         DBAPIRequest.property_value = _fake_property_value
         DBAPIRequest.next_tabindex = count().next