diff options
| author | Chris Shenton <chris@koansys.com> | 2011-11-07 17:57:57 -0800 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-11-08 15:00:03 -0800 |
| commit | 8092b61b4704bc3a374f5c15e6e626612d9eb504 (patch) | |
| tree | c86f117ab8b1c166869eb7b8e0af0452511a9286 /docs/tutorials/wiki2/basiclayout.rst | |
| parent | 82b661328475ce768d0986428999c96c6f25defc (diff) | |
| download | pyramid-8092b61b4704bc3a374f5c15e6e626612d9eb504.tar.gz pyramid-8092b61b4704bc3a374f5c15e6e626612d9eb504.tar.bz2 pyramid-8092b61b4704bc3a374f5c15e6e626612d9eb504.zip | |
Remove 'pyramid_' from scaffolding name used for pcreate now.
Diffstat (limited to 'docs/tutorials/wiki2/basiclayout.rst')
| -rw-r--r-- | docs/tutorials/wiki2/basiclayout.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/tutorials/wiki2/basiclayout.rst b/docs/tutorials/wiki2/basiclayout.rst index 8dc886373..acd2f04f3 100644 --- a/docs/tutorials/wiki2/basiclayout.rst +++ b/docs/tutorials/wiki2/basiclayout.rst @@ -2,7 +2,7 @@ Basic Layout ============ -The starter files generated by the ``pyramid_routesalchemy`` scaffold are +The starter files generated by the ``routesalchemy`` scaffold are basic, but they provide a good orientation for the high-level patterns common to most :term:`url dispatch` -based :app:`Pyramid` projects. @@ -98,7 +98,7 @@ register views for the routes, mapping your patterns to code: The first positional ``add_view`` argument ``tutorial.views.my_view`` is the dotted name to a *function* we write (generated by the -``pyramid_routesalchemy`` scaffold) that is given a ``request`` object and +``routesalchemy`` scaffold) that is given a ``request`` object and which returns a response or a dictionary. This view also names a ``renderer``, which is a template which lives in the ``templates`` subdirectory of the package. When the ``tutorial.views.my_view`` view @@ -124,7 +124,7 @@ Content Models with ``models.py`` In a SQLAlchemy-based application, a *model* object is an object composed by querying the SQL database which backs an application. SQLAlchemy is an "object relational mapper" (an ORM). The -``models.py`` file is where the ``pyramid_routesalchemy`` scaffold +``models.py`` file is where the ``routesalchemy`` scaffold put the classes that implement our models. Let's take a look. First, we need some imports to support later code. |
