import sys
import logging
import pyramid.httpexceptions
+import pyramid.url
import re
from colorsys import rgb_to_hls, hls_to_rgb
from cgi import escape as html_escape
def page_url(page):
- return current_route_url(request, page=page, _query=request.GET)
+ return pyramid.url.current_route_url(request, page=page, _query=request.GET)
def pretty_date(time=False):