diff options
| author | Steve Piercy <web@stevepiercy.com> | 2019-02-19 10:21:55 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-19 10:21:55 -0800 |
| commit | d6ec601dca9dfa8801d922119ed72b2bb20e9d2f (patch) | |
| tree | 1c93be0ea9ad3131919992a8d48c07bd7d3906dc | |
| parent | 1035ca1086ee86d3ce4f207bd3c9b55d5484170b (diff) | |
| parent | 05303500475186f5e8e70bb4be67dc202a0dd6f1 (diff) | |
| download | pyramid-d6ec601dca9dfa8801d922119ed72b2bb20e9d2f.tar.gz pyramid-d6ec601dca9dfa8801d922119ed72b2bb20e9d2f.tar.bz2 pyramid-d6ec601dca9dfa8801d922119ed72b2bb20e9d2f.zip | |
Merge pull request #3466 from sayanarijit/routes-to-root
doc update: firstapp, project
| -rw-r--r-- | CONTRIBUTORS.txt | 2 | ||||
| -rw-r--r-- | docs/narr/firstapp.rst | 3 | ||||
| -rw-r--r-- | docs/narr/project.rst | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt index 79e4287d2..3c92d1d91 100644 --- a/CONTRIBUTORS.txt +++ b/CONTRIBUTORS.txt @@ -336,3 +336,5 @@ Contributors - Colin Dunklau, 2018/09/19 - Alexandre Yukio Harano, 2018/10/05 + +- Arijit Basu, 2019/02/19 diff --git a/docs/narr/firstapp.rst b/docs/narr/firstapp.rst index 917482976..10fbc5bb4 100644 --- a/docs/narr/firstapp.rst +++ b/docs/narr/firstapp.rst @@ -170,8 +170,7 @@ Adding Configuration :lines: 12-13 The first line above calls the :meth:`pyramid.config.Configurator.add_route` -method, which registers a :term:`route` to match any URL path that begins with -``/hello/`` followed by a string. +method, which registers a :term:`route` to root (``/``) URL path. The second line registers the ``hello_world`` function as a :term:`view callable` and makes sure that it will be called when the ``hello`` route is diff --git a/docs/narr/project.rst b/docs/narr/project.rst index 14f0d083e..58bef5701 100644 --- a/docs/narr/project.rst +++ b/docs/narr/project.rst @@ -149,7 +149,7 @@ number of debugging settings. You can use this file to put your application into production. The ``myproject`` project directory contains an additional subdirectory named -``myproject`` (note the case difference) representing a Python :term:`package` +``myproject`` representing a Python :term:`package` which holds very simple :app:`Pyramid` sample code. This is where you'll edit your application's Python code and templates. |
