diff options
| author | Blaise Laflamme <blaise@laflamme.org> | 2013-01-28 14:11:40 -0800 |
|---|---|---|
| committer | Blaise Laflamme <blaise@laflamme.org> | 2013-01-28 14:11:40 -0800 |
| commit | 850a5b910bca3cfe03157777acc593a36eb9c28b (patch) | |
| tree | 76737df28a608374914b5d1cdcdd6c159be16048 /docs | |
| parent | f9bb5acdef3322e549512ad721b2c351c0064e71 (diff) | |
| parent | 1c0e0e94b6665ba715236be82cbd2b12b6a0a79f (diff) | |
| download | pyramid-850a5b910bca3cfe03157777acc593a36eb9c28b.tar.gz pyramid-850a5b910bca3cfe03157777acc593a36eb9c28b.tar.bz2 pyramid-850a5b910bca3cfe03157777acc593a36eb9c28b.zip | |
Merge pull request #825 from calvinhp/master
Reading the docs and found a small typo
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/extending.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/narr/extending.rst b/docs/narr/extending.rst index c464203f0..dd9281c73 100644 --- a/docs/narr/extending.rst +++ b/docs/narr/extending.rst @@ -84,7 +84,7 @@ function in your application's ``__init__.py``. For example, rather than: config.add_view('myapp.views.view1', name='view1') config.add_view('myapp.views.view2', name='view2') -You should do move the calls to ``add_view`` outside of the (non-reusable) +You should move the calls to ``add_view`` outside of the (non-reusable) ``if __name__ == '__main__'`` block, and into a reusable function: .. code-block:: python |
