File: __init__.py

package info (click to toggle)
python-pyramid 1.2.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 3,172 kB
  • sloc: python: 27,115; makefile: 7
file content (11 lines) | stat: -rw-r--r-- 212 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
from pyramid.view import view_config

@view_config(renderer='string')
def abc(request):
    return 'root'

def main():
    from pyramid.config import Configurator
    c = Configurator()
    c.scan()
    return c