diff options
Diffstat (limited to 'docs/narr/MyProject/myproject/views.py')
| -rw-r--r-- | docs/narr/MyProject/myproject/views.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/narr/MyProject/myproject/views.py b/docs/narr/MyProject/myproject/views.py index c43b34460..5b5d230f2 100644 --- a/docs/narr/MyProject/myproject/views.py +++ b/docs/narr/MyProject/myproject/views.py @@ -1,2 +1,6 @@ +from pyramid.view import view_config +from .resources import Root + +@view_config(context=Root, renderer='templates/mytemplate.pt') def my_view(request): return {'project':'MyProject'} |
