File: root.py

package info (click to toggle)
python-pyramid 1.10.4%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,044 kB
  • sloc: python: 43,041; makefile: 28
file content (11 lines) | stat: -rw-r--r-- 219 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
from pyramid.response import Response


def aview(request):
    return Response('root')


def configure(config):
    config.add_view(aview)
    config.include('tests.pkgs.includeapp1.two.configure')
    config.commit()