]> asedeno.scripts.mit.edu Git - bluechips.git/blobdiff - bluechips/lib/helpers.py
Switch from using Decimal to using a new Currency class
[bluechips.git] / bluechips / lib / helpers.py
index 0eb7c8fccaf827c20e2853b4d6b0eba55525a5a1..1b8771bc790972d150b4db5b874a6d8a53604e8f 100644 (file)
@@ -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 '<span class="bluechips">BlueChips</span>'
+
+flash = _Flash()