web/views/navigation.py
changeset 2613 5e19c2bb370e
parent 2381 caad2367d940
child 2650 18aec79ec3a3
--- a/web/views/navigation.py	Fri Jul 31 19:18:33 2009 +0200
+++ b/web/views/navigation.py	Fri Jul 31 22:37:28 2009 +0200
@@ -11,7 +11,7 @@
 from rql.nodes import VariableRef, Constant
 
 from logilab.mtconverter import xml_escape
-from logilab.common.deprecation import obsolete
+from logilab.common.deprecation import deprecated
 
 from cubicweb.interfaces import IPrevNext
 from cubicweb.selectors import (paginated_rset, sorted_rset,
@@ -168,7 +168,7 @@
 # monkey patch base View class to add a .pagination(req, rset, w, forcedisplay)
 # method to be called on view's result set and printing pages index in the view
 from cubicweb.view import View
-View.pagination = obsolete('.pagination is deprecated, use paginate')(limit_rset_using_paged_nav)
+View.pagination = deprecated('.pagination is deprecated, use paginate')(limit_rset_using_paged_nav)
 
 def paginate(view, show_all_option=True, w=None, page_size=None):
     limit_rset_using_paged_nav(view, view.req, view.rset, w or view.w,