File: helpers.py

package info (click to toggle)
python-werkzeug 0.9.6%2Bdfsg-1%2Bdeb8u1
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 3,120 kB
  • ctags: 3,018
  • sloc: python: 17,930; makefile: 149; pascal: 60; xml: 16
file content (18 lines) | stat: -rw-r--r-- 475 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# -*- coding: utf-8 -*-
"""
    coolmagic.helpers
    ~~~~~~~~~~~~~~~~~

    The star-import module for all views.

    :copyright: (c) 2009 by the Werkzeug Team, see AUTHORS for more details.
    :license: BSD, see LICENSE for more details.
"""
from coolmagic.utils import Response, TemplateResponse, ThreadedRequest, \
     export, url_for, redirect
from werkzeug.utils import escape


#: a thread local proxy request object
request = ThreadedRequest()
del ThreadedRequest