diff options
| author | Steve Piercy <web@stevepiercy.com> | 2013-10-07 21:40:10 -0700 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2013-10-07 21:40:10 -0700 |
| commit | d84407421d1830ed726bcc280b3de112aca701e7 (patch) | |
| tree | 3ce7791e8525a9b25ca4be8f8777da2333c0cf09 /docs | |
| parent | 3b61f4632e6644c0c60a50352d9914bf51d4ab1d (diff) | |
| download | pyramid-d84407421d1830ed726bcc280b3de112aca701e7.tar.gz pyramid-d84407421d1830ed726bcc280b3de112aca701e7.tar.bz2 pyramid-d84407421d1830ed726bcc280b3de112aca701e7.zip | |
wrap to 79
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/introduction.rst | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/narr/introduction.rst b/docs/narr/introduction.rst index b60934ebb..ece720a97 100644 --- a/docs/narr/introduction.rst +++ b/docs/narr/introduction.rst @@ -179,11 +179,11 @@ Example: :ref:`static_assets_section`. Fully Interactive Development ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -When developing a Pyramid application a variety of interactive -features are available. Pyramid can automatically utilize changed -templates when rendering pages and automatically restart the -application to incorporate changed python code. Plain old ``printf()`` -calls used for debugging can display to a console. +When developing a Pyramid application, several interactive features are +available. Pyramid can automatically utilize changed templates when rendering +pages and automatically restart the application to incorporate changed python +code. Plain old ``printf()`` calls used for debugging can display to a +console. Pyramid's debug toolbar comes activated when you use a Pyramid scaffold to render a project. This toolbar overlays your application in the browser, and @@ -790,7 +790,7 @@ automate some of the tedium away: for method in ('GET', 'POST', 'HEAD'): view = getattr(module, 'xhr_%s_view' % method, None) if view is not None: - config.add_view(view, route_name='xhr_route', xhr=True, + config.add_view(view, route_name='xhr_route', xhr=True, permission='view', request_method=method) config = Configurator() |
