Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove 'pyramid_' from scaffolding name used for pcreate now.

  • Loading branch information...
commit 8092b61b4704bc3a374f5c15e6e626612d9eb504 1 parent 82b6613
@shentonfreude shentonfreude authored mcdonc committed
View
6 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.
View
8 docs/tutorials/wiki2/installation.rst
@@ -84,7 +84,7 @@ Making a Project
Your next step is to create a project. :app:`Pyramid` supplies a
variety of scaffolds to generate sample projects. We will use the
-``pyramid_routesalchemy`` scaffold, which generates an application
+``routesalchemy`` scaffold, which generates an application
that uses :term:`SQLAlchemy` and :term:`URL dispatch`.
The below instructions assume your current working directory is the
@@ -102,7 +102,7 @@ On Windows:
c:\pyramidtut> Scripts\pcreate -s routesalchemy tutorial
-.. note:: If you are using Windows, the ``pyramid_routesalchemy``
+.. note:: If you are using Windows, the ``routesalchemy``
scaffold may not deal gracefully with installation into a
location that contains spaces in the path. If you experience
startup problems, try putting both the virtualenv and the project
@@ -222,10 +222,10 @@ page. You can read more about the purpose of the icon at
:ref:`debug_toolbar`. It allows you to get information about your
application while you develop.
-Decisions the ``pyramid_routesalchemy`` Scaffold Has Made For You
+Decisions the ``routesalchemy`` Scaffold Has Made For You
=================================================================
-Creating a project using the ``pyramid_routesalchemy`` scaffold makes
+Creating a project using the ``routesalchemy`` scaffold makes
the following assumptions:
- you are willing to use :term:`SQLAlchemy` as a database access tool
View
2  docs/tutorials/wiki2/tests.rst
@@ -13,7 +13,7 @@ We write a test class for the model class ``Page`` and another test class
for the ``initialize_sql`` function.
To do so, we'll retain the ``tutorial.tests.ViewTests`` class provided as a
-result of the ``pyramid_routesalchemy`` project generator. We'll add two
+result of the ``routesalchemy`` project generator. We'll add two
test classes: one for the ``Page`` model named ``PageModelTests``, one for the
``initialize_sql`` function named ``InitializeSqlTests``.
View
2  docs/whatsnew-1.0.rst
@@ -110,7 +110,7 @@ Scaffold Improvements
(``starter``, ``routesalchemy``, ``alchemy``, ``zodb``) instead of ZCML
configuration.
-- The ``pyramid_zodb``, ``pyramid_routesalchemy`` and ``pyramid_alchemy``
+- The ``pyramid_zodb``, ``routesalchemy`` and ``pyramid_alchemy``
scaffolds now use a default "commit veto" hook when configuring the
``repoze.tm2`` transaction manager in ``development.ini``. This prevents a
transaction from being committed when the response status code is within
Please sign in to comment.
Something went wrong with that request. Please try again.