diff options
| author | Karl O. Pinc <kop@meme.com> | 2018-11-24 09:18:53 -0600 |
|---|---|---|
| committer | Karl O. Pinc <kop@meme.com> | 2018-11-24 09:21:20 -0600 |
| commit | 21bff45c53e06d283518265b5381450b2f188944 (patch) | |
| tree | a424957320ff5649b2f5f98ec1cf576ddda442d8 /docs/glossary.rst | |
| parent | ee8033a6b1292bc9a65151e34cdc34dcffd33efb (diff) | |
| download | pyramid-21bff45c53e06d283518265b5381450b2f188944.tar.gz pyramid-21bff45c53e06d283518265b5381450b2f188944.tar.bz2 pyramid-21bff45c53e06d283518265b5381450b2f188944.zip | |
Add "constructor" glossary entry
Diffstat (limited to 'docs/glossary.rst')
| -rw-r--r-- | docs/glossary.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/glossary.rst b/docs/glossary.rst index 7f396dc7d..89c03860b 100644 --- a/docs/glossary.rst +++ b/docs/glossary.rst @@ -1219,3 +1219,10 @@ Glossary Settings are collected at application startup. They can affect all the components which make up the the application. Pyramid itself, any tweens or Pyramid add-ons used, and :ref:`your own code may reference <deployment_settings>` and act on settings. + + constructor + A function returning a Pyramid :term:`WSGI` application. + Every Pyramid application has a single constructor function named ``main``. + It returns a Pyramid :term:`router` generated by a :term:`configurator`, and is written by you. + The Pyramid constructor is the application's :term:`entry point`. + |
