Mike Orr avatar Mike Orr committed 2f1028d

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

Comments (0)

Files changed (2)

 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)
 -----------------

webhelpers/paginate.py

         text
             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')
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.