File: __init__.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 (6 lines) | stat: -rw-r--r-- 132 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
from pyramid.view import view_config


@view_config(name='two', renderer='json')
def two(request):
    return {'nameagain': 'Two!'}