Skip to content
Commits on Jan 22, 2011
  1. @mcdonc

    prep for 1.0b1

    mcdonc committed
  2. @mcdonc

    - Minimally explain usage of custom regular expressions in URL dispatch

    mcdonc committed
      replacement markers within URL Dispatch chapter.
  3. @mcdonc
Commits on Jan 21, 2011
  1. @mcdonc
  2. @mcdonc

    - Move content of "Forms" chapter back to "Views" chapter; I can't th…

    mcdonc committed
    …ink of a
      better place to put it.
  3. @mcdonc

    - ``testing.setUp`` now adds a ``settings`` attribute to the registry…

    mcdonc committed
    … (both
      when it's passed a registry without any settings and when it creates one).
    - The ``testing.setUp`` function now takes a ``settings`` argument, which
      should be a dictionary.  Its values will subsequently be available on the
      returned ``config`` object as ``config.registry.settings``.
  4. @mcdonc
  5. @mcdonc

    - Add (minimal) documentation about using I18N within Mako templates to

    mcdonc committed
      "Internationalization and Localization" narrative chapter.
  6. @mcdonc

    - Add docs for ``add_finished_callback``, ``add_response_callback``,

    mcdonc committed
      ``route_path``, ``route_url``, and ``static_url`` methods to
      ``pyramid.request.Request`` API docs.
  7. @mcdonc

    - Add ``wild_domain`` argument to AuthTktAuthenticationPolicy, which …

    mcdonc committed
      to ``True``.  If it is set to ``False``, the feature of the policy which
      sets a cookie with a wilcard domain will be turned off.
Commits on Jan 20, 2011
  1. @mcdonc

    - Added "Adding Methods to the Configurator via ``add_directive``" se…

    mcdonc committed
    …ction to
      Advanced Configuration narrative chapter.
  2. @mcdonc

    - Using the ``pyramid.view.bfg_view`` alias for ``pyramid.view.view_c…

    mcdonc committed
      (a backwards compatibility shim) now issues a deprecation warning.
  3. @mcdonc

    - The ``pyramid_zodb``, ``pyramid_routesalchemy`` and ``pyramid_alche…

    mcdonc committed
      paster templates 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
      the 400 or 500 ranges.  See also
  4. @mcdonc

    get urls right

    mcdonc committed
  5. @mcdonc
Commits on Jan 19, 2011
  1. @mcdonc

    - The default value for the ``cookie_on_exception`` parameter to

    mcdonc committed
      ``pyramid.session.UnencyrptedCookieSessionFactory`` is now ``True``.  This
      means that when view code causes an exception to be raised, and the session
      has been mutated, a cookie will be sent back in the response.  Previously
      its default value was ``False``.
  2. @mcdonc
  3. @wichert

    Merge branch 'tokens'

    wichert committed
  4. @mcdonc

    - When a ``pyramid.exceptions.Forbidden`` error is raised, its status…

    mcdonc committed
    … code
      now ``403 Forbidden``.  It was previously ``401 Unauthorized``, for
      backwards compatibility purposes with ``repoze.bfg``.  This change will
      cause problems for users of Pyramid with ``repoze.who``, which intercepts
      ``401 Unauthorized`` by default, but allows ``403 Forbidden`` to pass
      through.  Those deployments will need to configure ``repoze.who`` to also
      react to ``403 Forbidden``.
  5. @mcdonc


    mcdonc committed
  6. @mcdonc
Commits on Jan 18, 2011
  1. @mcdonc

    prep for 1.0a10

    mcdonc committed
  2. @mcdonc

    - Most references to ZCML in narrative chapters have been removed or

    mcdonc committed
      redirected to ``pyramid_zcml`` locations.
  3. @mcdonc


    mcdonc committed
  4. @mcdonc

    - The ``make_app`` function has been removed from the ``pyramid.router``

    mcdonc committed
      module.  It continues life within the ``pyramid_zcml`` package.  This
      leaves the ``pyramid.router`` module without any API functions.
    - The ``configure_zcml`` setting within the deployment settings (within
      ``**settings`` passed to a Pyramid ``main`` function) has ceased to have any
    - The ``starter_zcml`` paster template has been moved to the ``pyramid_zcml``
    - The ``bfg2pyramid`` script now converts ZCML include tags that have
      ``repoze.bfg.includes`` as a package attribute to the value
      ``pyramid_zcml``.  For example, ``<include package="repoze.bfg.includes">``
      will be converted to ``<include package="pyramid_zcml">``.
    - The ``load_zcml`` method of a Configurator has been removed from the
      Pyramid core.  Loading ZCML is now a feature of the ``pyramid_zcml``
      package, which can be downloaded from PyPI.  Documentation for the package
      should be available via, which describes how to
      get this method back after depending upon ``pyramid_zcml`` as an
      ``install_requires`` dependency.
    - The ``pyramid.includes`` subpackage has been removed.  ZCML files which use
      include the package ``pyramid.includes`` (e.g. ``<include
      package="pyramid.includes">``) now must include the ``pyramid_zcml``
      package instead (e.g. ``<include package="pyramid_zcml"/>).
    - The "Declarative Configuration" narrative chapter has been removed (it was
      moved to the ``pyramid_zcml`` pakcage).
    - The add_directive method now accepts an "action_wrap" flag.
    - Fix some orphaned references.
    - Remove some docstring references to ZCML directives.
    - All integration test fixtures have been changed to use imperative
      configuration rather than ZCML configuration.
Commits on Jan 16, 2011
  1. @mcdonc

    - The ``pylons_minimal``, ``pylons_basic`` and ``pylons_sqla`` paster

    mcdonc committed
      templates were removed.  Use ``pyramid_sqla`` (available from PyPI) as a
      generic replacement for Pylons-esque development.
    - All references to ``add_handler`` and the ``handler`` ZCML directive have
      been removed from the docs, and stubs which point to ``pylons_handlers``
      package have replaced them.
  2. @mcdonc

    Remove configurator.add_handler, handler-related functions and method…

    mcdonc committed
    …s from pyramid.view, handler ZCML directive. This functionality is to be moved to a "pyramid_handlers" package.
    Fix add_directive to properly persist directives across configurator creations.
  3. @mcdonc

    - When ``Configurator.include`` is passed a *module* as an argument, it

    mcdonc committed
      defaults to attempting to find and use a callable named ``includeme``
      within that module.  This makes it possible to use
      ``config.include('some.module')`` rather than
      ``config.include('some.module.somefunc')`` as long as the include function
      within ``some.module`` is named ``includeme``.
  4. @mcdonc

    - Add ``add_directive`` method to configurator, which allows framework

    mcdonc committed
      extenders to add methods to the configurator (ala ZCML directives).
Commits on Jan 15, 2011
  1. @bbangert

    - URL Dispatch properly handles a '.*' or '*' appearing in a regex match

    bbangert committed
      when used inside brackets. Resolve Issue #90.
Commits on Jan 14, 2011
  1. @mcdonc

    - Add ``charset`` attribute to ``pyramid.testing.DummyRequest``

    mcdonc committed
      (unconditionally ``UTF-8``).
Commits on Jan 12, 2011
  1. @mcdonc

    - Deprecation warnings related to import of the following API functio…

    mcdonc committed
    …ns were
      added: ``pyramid.traversal.find_model``, ``pyramid.traversal.model_path``,
      ``pyramid.traversal.model_path_tuple``, ``pyramid.url.model_url``.  The
      instructions emitted by the deprecation warnings instruct the developer to
      change these method spellings to their ``resource`` equivalents.  This is a
      consequence of the mass concept rename of "model" to "resource" performed
      in 1.0a7.
  2. @mcdonc

    - Document the ``request.override_renderer`` attribute within the nar…

    mcdonc committed
      "Renderers" chapter in a section named "Overriding A Renderer at Runtime".
  3. @mcdonc


    mcdonc committed
    - ``pyramid.testing.setUp`` and ``pyramid.testing.tearDown`` have been
      undeprecated.  They are now the canonical setup and teardown APIs for test
      configuration, replacing "direct" creation of a Configurator.  This is a
      change designed to provide a facade that will protect against any future
      Configurator deprecations.
    Paster Templates
    - All paster templates now use ``pyramid.testing.setUp`` and
      ``pyramid.testing.tearDown`` rather than creating a Configurator "by hand"
      within their ```` module, as per decision in features above.
    - The wiki and wiki2 tutorials now use ``pyramid.testing.setUp`` and
      ``pyramid.testing.tearDown`` rather than creating a Configurator "by hand",
      as per decision in features above.
    - The "Testing" narrative chapter now explains ``pyramid.testing.setUp`` and
      ``pyramid.testing.tearDown`` instead of Configurator creation and
      ``Configurator.begin()`` and ``Configurator.end()``.
Commits on Jan 8, 2011
  1. @mcdonc

    back to development

    mcdonc committed
Something went wrong with that request. Please try again.