diff options
| author | Steve Piercy <web@stevepiercy.com> | 2013-10-07 21:40:32 -0700 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2013-10-07 21:40:32 -0700 |
| commit | dcf44deaabc5b7e74bbd4bc84c885ec3556c45a5 (patch) | |
| tree | 964f0c00a5a1a1ca7bb8f95c27a08746651f9b46 | |
| parent | 5ded35a5d057eb6188d6f80c47593ec934833d47 (diff) | |
| parent | d84407421d1830ed726bcc280b3de112aca701e7 (diff) | |
| download | pyramid-dcf44deaabc5b7e74bbd4bc84c885ec3556c45a5.tar.gz pyramid-dcf44deaabc5b7e74bbd4bc84c885ec3556c45a5.tar.bz2 pyramid-dcf44deaabc5b7e74bbd4bc84c885ec3556c45a5.zip | |
Merge branch 'kpinc-doc_interactive_dev'
| -rw-r--r-- | docs/narr/introduction.rst | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/docs/narr/introduction.rst b/docs/narr/introduction.rst index 8c2acf95c..ece720a97 100644 --- a/docs/narr/introduction.rst +++ b/docs/narr/introduction.rst @@ -176,8 +176,14 @@ static file server in production without changing any code. Example: :ref:`static_assets_section`. -Debug Toolbar -~~~~~~~~~~~~~ +Fully Interactive Development +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +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 @@ -784,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() |
