diff options
| author | Chris McDonough <chrism@plope.com> | 2011-12-05 00:12:38 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-12-05 00:12:38 -0500 |
| commit | 8fe02156794c2cac0cbc6961332f9d8bebc1cb90 (patch) | |
| tree | ba536c4442a2d97eded4717ae7828c2dc8c7d611 /docs/narr/MyProject/myproject/views.py | |
| parent | 5d462f0c660f939c773862b0fab81728c9ba62c7 (diff) | |
| download | pyramid-8fe02156794c2cac0cbc6961332f9d8bebc1cb90.tar.gz pyramid-8fe02156794c2cac0cbc6961332f9d8bebc1cb90.tar.bz2 pyramid-8fe02156794c2cac0cbc6961332f9d8bebc1cb90.zip | |
the starter scaffold now uses url dispatch; add a minimal section about using another WSGI server; random docs fixes
Diffstat (limited to 'docs/narr/MyProject/myproject/views.py')
| -rw-r--r-- | docs/narr/MyProject/myproject/views.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/narr/MyProject/myproject/views.py b/docs/narr/MyProject/myproject/views.py index 5b5d230f2..f571a5976 100644 --- a/docs/narr/MyProject/myproject/views.py +++ b/docs/narr/MyProject/myproject/views.py @@ -1,6 +1,5 @@ from pyramid.view import view_config -from .resources import Root -@view_config(context=Root, renderer='templates/mytemplate.pt') +@view_config(route_name='home', renderer='templates/mytemplate.pt') def my_view(request): return {'project':'MyProject'} |
