| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
"Virtual Hosting" chapter.
|
|
``pyramid.traversal.model_path``, ``pyramid.traversal.model_path_tuple``,
and ``pyramid.url.model_url``, which were all deprecated in Pyramid 1.0.
There's just not much cost to keeping them around forever as aliases to
their renamed ``resource_*`` prefixed functions.
- Undeprecated ``pyramid.view.bfg_view``, which was deprecated in Pyramid
1.0. This is a low-cost alias to ``pyramid.view.view_config`` which we'll
just keep around forever.
|
|
``pyramid.config.Configurator.add_view`` and
``pyramid.config.Configurator.add_route`` is now permitted to be a tuple of
HTTP method names. Previously it was restricted to being a string
representing a single HTTP method name.
- Move add_view tests and tween tests to more reasonable places.
|
|
``pyramid.config.Configurator.scan()``. This onerror keyword argument is
passed to ``venusian.Scanner.scan()`` to influence error behavior when
an exception is raised during scanning.
- Pyramid now requires Venusian 1.0a1 or better to support the ``onerror``
keyword argument to ``pyramid.config.Configurator.scan``.
- Move test fixtures around so test_config tests are not looking "up"
for fixtures.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
and ``FileOverride`` classes from ``pyramid.asset`` to
``pyramid.config.assets``.
|
|
``pyramid.config.settings``.
|
|
and narrative docs.
- Break out awkward description of PasteDeploy entry points from
project chapter into its own Paste chapter.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
and ``SessionAuthenticationPolicy`` constructors now accept an additional
keyword argument named ``debug``. By default, this keyword argument is
``False``. When it is ``True``, debug information will be sent to the
Pyramid debug logger (usually on stderr) when the ``authenticated_userid``
or ``effective_principals`` method is called on any of these policies. The
output produced can be useful when trying to diagnose
authentication-related problems.
|
|
|
|
- New function in ``pyramid.url``: ``current_route_path``.
|
|
|
|
warning about ordering, comment about global_registries, no longer have a circular import between config and router
|
|
|
|
|
|
a plan to make the constructor sane
|
|
|
|
|
|
``set_authentication_policy`` and ``set_authorization_policy``. These are
meant to be consumed mostly by add-on authors.
|
|
than the ``repoze.zodbconn`` package to provide ZODB integration.
- The ZODB scaffold now uses the ``pyramid_zodbconn`` package rather than the
``repoze.zodbconn`` package to provide ZODB integration.
|
|
``add_finished_callback`` and ``add_response_callback`` methods.
|
|
|
|
|
|
|
|
attempt to access its values via ``__getattr__`` instead of
via ``__getitem__``.
|
|
of a dictionary, for documentation purposes only (IMultiDict and
IBeforeRender inherit from it).
- Previously the ``pyramid.events.BeforeRender`` event *wrapped* a dictionary
(it addressed it as its ``_system`` attribute). Now it *is* a dictionary
(it inherits from ``dict``), and it's the value that is passed to templates
as a top-level dictionary.
|
|
|
|
globally importable name
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|