X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=bluechips%2Flib%2Fhelpers.py;h=1b8771bc790972d150b4db5b874a6d8a53604e8f;hb=3b864c81e804769f2be45b38c319895d1735aef9;hp=0eb7c8fccaf827c20e2853b4d6b0eba55525a5a1;hpb=f8814994349f84b9636c22e75c75e02511a8eb36;p=bluechips.git diff --git a/bluechips/lib/helpers.py b/bluechips/lib/helpers.py index 0eb7c8f..1b8771b 100644 --- a/bluechips/lib/helpers.py +++ b/bluechips/lib/helpers.py @@ -3,4 +3,15 @@ Consists of functions to typically be used within templates, but also available to Controllers. This module is available to both as 'h'. """ -from webhelpers import * +from routes import url_for, redirect_to +from webhelpers.html import escape, literal, url_escape +from webhelpers.html.tags import * + +from webhelpers.pylonslib import Flash as _Flash + +from decimal import Decimal + +def bluechips(): + return 'BlueChips' + +flash = _Flash()