|
|
@ -11,6 +11,8 @@ def flash(request, channel, message, description='', dismissable=True): |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def includeme(config): |
|
|
|
def includeme(config): |
|
|
|
''' adding a request helper for views ''' |
|
|
|
''' adding request helpers and static views ''' |
|
|
|
config.add_request_method(flash, 'flash') |
|
|
|
config.add_request_method(flash, 'flash') |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
config.add_static_view('static', 'ordr2:static', cache_max_age=3600) |
|
|
|
|
|
|
|
|
|
|
|