Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (16 sloc) 0.406 kb
# -*- coding: utf-8 -*-
import web
import config
render = web.template.render('templates/', cache=config.cache_templates)
def tools(**k):
return render.tools()
def addurl(**k):
return render.addurl()
def checkurl(**k):
return render.checkurl()
def badrequest(**k):
return render.badrequest(**k)
web.template.Template.globals.update(dict(
datestr = web.datestr,
render = render
))
Jump to Line
Something went wrong with that request. Please try again.