1. xpahos
  2. WebHelpers


Mike Orr  committed 2f1028d

Remove stray Routes dependency in ``webhelpers.paginate``.
(This does not remove all Routes dependencies.)

  • Participants
  • Parent commits 1d64c7a
  • Branches trunk

Comments (0)

Files changed (2)


View file
  • Ignore whitespace
 tip (development version)
-No changes yet.
+* webhelpers.paginate:
+  - Remove stray Routes import. (Other conditional Routes imports remain for
+    backward compatibility; see module docstring.)
 1.0 (2010-06-01)

File webhelpers/paginate.py

View file
  • Ignore whitespace
             Text to be printed in the A-HREF tag
-        from routes import url_for, request_config
         # Let the url_for() from webhelpers create a new link and set
         # the variable called 'page_param'. Example:
         # You are in '/foo/bar' (controller='foo', action='bar')