| Age | Commit message (Collapse) | Author |
|
|
|
the latter generates a default constructor
|
|
|
|
|
|
We don't want to have to keep remembering these if there's a change,
and apparently it's also overkill,
according to https://github.com/Pylons/pyramid/pull/953#issuecomment-15654314.
|
|
|
|
|
|
- No line references to update
|
|
|
|
- Update lines and emphasized-lines
- No line numbers if only a single line
|
|
- Update lines and emphasized-lines
- No line numbers if only a single line
|
|
|
|
- Explain the added lines in the Basic Layout chapter.
- The user is told to remove the added lines in the
Defining Views chapter, there was no need to fix
any emphasized lines.
- Sync the file in the other sections even if it is not
shown, for consistency.
|
|
- Files that are not referred to in a literalinclude
in the tutorial docs
- setup.py appears in literalinclude, but no lines
are added or removed so no impact. Fixed docutils
order in the requires list.
|
|
AuthTktAuthenticationPolicy now accepts a hashalg parameter and is no
longer deprecated. Docs recommend overriding hashalg and using 'sha512'.
|
|
zope.deprecation instead of a warning, make hashalg arg a kwarg in certain cases in case someone (maybe me) is using nonapi function imports from authentication
|
|
defined imperatively will work.
- update wiki2 SQLA tutorial with the changes required after inserting
``Base.metadata.bind = engine`` into the alchemy scaffold.
|
|
|
|
- In the authorization and tests stages
|
|
view_page function (and the matchdict key for that matter)
|
|
|
|
code to implement the suggestion in issue #504
|
|
- Sync content in Adding Authentication and
Authorization policies, Add permission
declarations sections
- Added mising permission=view in SQL tutorial
- Moved __init__.py listing to Seeing our changes
|
|
tutorial, too
|
|
Pyramid-provided ``.ini`` files. This setting previously told Chameleon to
render better exceptions; now Chameleon always renders nice exceptions
regardless of the value of this setting.
Fixes #491.
|
|
|
|
- Replaced populate_tutorial -> initialize_tutorial_db
- Renamed populate.py -> initializedb.py
- Updated references in the documenation
|
|
- Removed the main() settings parameter in populate.py
- Updated the Tests chapter
|
|
wrapper for ``pyramid.Config.configurator.add_view`` which does the right
thing about permissions. It should be preferred over calling ``add_view``
directly with ``context=HTTPForbidden`` as was previously recommended.
- New API: ``pyramid.view.forbidden_view_config``. This is a decorator
constructor like ``pyramid.view.view_config`` that calls
``pyramid.config.Configurator.add_forbidden_view`` when scanned. It should
be preferred over using ``pyramid.view.view_config`` with
``context=HTTPForbidden`` as was previously recommended.
- Updated the "Creating a Not Forbidden View" section of the "Hooks" chapter,
replacing explanations of registering a view using ``add_view`` or
``view_config`` with ones using ``add_forbidden_view`` or
``forbidden_view_config``.
- Updated all tutorials to use ``pyramid.view.forbidden_view_config`` rather
than ``pyramid.view.view_config`` with an HTTPForbidden context.
|
|
lines in order to be able to tell people to comment out only the
``pyramid_debugtoolbar`` line when they want to disable the toolbar.
|
|
``DBSession`` instead (this is more common in real SQLA apps).
|
|
issue #398)
|
|
|
|
|
|
``@view_config`` decorators and an explicit database population script.
Closes #359.
|
|
rendering; emit logging statements when populate is run
|
|
|
|
|
|
replicable on my own
|
|
and narrative docs.
- Break out awkward description of PasteDeploy entry points from
project chapter into its own Paste chapter.
|
|
``resource_url``, ``static_url``, and ``current_route_url`` methods of the
request rather than the function variants imported from ``pyramid.url``.
|
|
package at all; configuration in the ``production.ini`` file which used to
require its ``error_catcher`` middleware has been removed. Configuring
error catching / email sending is now the domain of the ``pyramid_exclog``
package (see https://docs.pylonsproject.org/projects/pyramid_exclog/dev/).
|
|
|
|
|
|
|
|
use ``/projects/pyramid/current`` rather than ``/projects/pyramid/dev``.
|
|
inappropriately used ``DBSession.rollback()`` instead of
``transaction.abort()`` in one place.
- Wiki2 (SQLAlchemy + URL Dispatch) tutorial ``models.initialize_sql`` didn't
match the ``pyramid_routesalchemy`` scaffold function of the same name; it
didn't get synchronized when it was changed in the scaffold.
|
|
|
|
to depend on WebTest, and 2 tests failed as the result of changes to
Pyramid itself. These issues have been fixed.
|
|
|