/usr/lib/python3/dist-packages/pyramid/scaffolds/zodb/+package+/views.py_tmpl is in python3-pyramid 1.6+dfsg-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 | from pyramid.view import view_config
from .models import MyModel
@view_config(context=MyModel, renderer='templates/mytemplate.pt')
def my_view(request):
return {'project': '{{project}}'}
|