summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-07-13- Views associated with routes with spaces in the route name may not haveChris McDonough
been looked up correctly when using Pyramid with ``zope.interface`` 3.6.4 and better. Closes #232.
2011-07-13- We now clear ``request.response`` before we invoke an exception view; anChris McDonough
exception view will be working with a request.response that has not been touched by any code prior to the exception.
2011-07-12gardenChris McDonough
2011-07-12gardenChris McDonough
2011-07-12clarifyChris McDonough
2011-07-12- New environment setting ``PYRAMID_PREVENT_HTTP_CACHE`` and newChris McDonough
configuration file value ``prevent_http_cache``. These are synomymous and allow you to prevent HTTP cache headers from being set by Pyramid's ``http_cache`` machinery globally in a process. see the "Influencing HTTP Caching" section of the "View Configuration" narrative chapter and the detailed documentation for this setting in the "Environment Variables and Configuration Settings" narrative chapter. - New documentation section in View Configuration narrative chapter: "Influencing HTTP Caching".
2011-07-12- The ``pyramid_routesalchemy`` and ``pyramid_alchemy`` scaffoldsChris McDonough
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.
2011-07-12gardenChris McDonough
2011-07-12- The ``Configurator.add_route`` method allowed two routes with the sameChris McDonough
route to be added without an intermediate ``config.commit()``. If you now receive a ``ConfigurationError`` at startup time that appears to be ``add_route`` related, you'll need to either a) ensure that all of your route names are unique or b) call ``config.commit()`` before adding a second route with the name of a previously added name or c) use a Configurator that works in ``autocommit`` mode.
2011-07-12nope, it works... just easy to get frustrated and give upChris McDonough
2011-07-12remove unused importChris McDonough
2011-07-12- Previously, If a ``BeforeRender`` event subscriber added a value via theChris McDonough
``__setitem__`` or ``update`` methods of the event object with a key that already existed in the renderer globals dictionary, a ``KeyError`` was raised. With the deprecation of the "add_renderer_globals" feature of the configurator, there was no way to override an existing value in the renderer globals dictionary that already existed. Now, the event object will overwrite an older value that is already in the globals dictionary when its ``__setitem__`` or ``update`` is called (as well as the new ``setdefault`` method), just like a plain old dictionary. As a result, for maximum interoperability with other third-party subscribers, if you write an event subscriber meant to be used as a BeforeRender subscriber, your subscriber code will now need to (using ``.get`` or ``__contains__`` of the event object) ensure no value already exists in the renderer globals dictionary before setting an overriding value.
2011-07-12reviewedChris McDonough
2011-07-12warn about warnings in 2.7+Chris McDonough
2011-07-12fix sampleChris McDonough
2011-07-12remove references to add_route view-related configurationChris McDonough
2011-07-12remove deprecated mechanism to associate views with routes; add description ↵Chris McDonough
of scan mechanism
2011-07-12add docs about logging configChris McDonough
2011-07-12add docs about logging configChris McDonough
2011-07-12remove unnecessary clauseChris McDonough
2011-07-11simplifyChris McDonough
2011-07-11add PyPyChris McDonough
2011-07-11add PyPyChris McDonough
2011-07-11convenience commandChris McDonough
2011-07-11bad referenceChris McDonough
2011-07-11simplifyChris McDonough
2011-07-11we no longer support 24.Chris McDonough
2011-07-11remove request clasattr, it breaks testsChris McDonough
2011-07-11give request a registry = None clasattr so registry can successfully be ↵Chris McDonough
passed as a kwarg to the Request constructor
2011-07-11simplifyChris McDonough
2011-07-11simplify wordingChris McDonough
2011-07-11earlier info referenced later info, fixChris McDonough
2011-07-11move mention of controllers to endChris McDonough
2011-07-11Merge branch 'master' of github.com:Pylons/pyramidChris McDonough
2011-07-11move alternate calling convention to chapter bottom; fix referenceChris McDonough
2011-07-10Merge pull request #229 from mmerickel/garden.webob-refsChris McDonough
Modified docs to reference webob's new website.
2011-07-10Modified docs to reference webob's new website.Michael Merickel
2011-07-10Merge pull request #228 from ejo/patch-3Michael Merickel
Adding 'I' to example custom AuthenticationPolicy; it's an interface.
2011-07-10Adding 'I' to example custom AuthenticationPolicy; it's an interface.ejo
2011-07-10gardenChris McDonough
2011-07-10prep for 1.1b1Chris McDonough
2011-07-10slightly more informative error messageChris McDonough
2011-07-10add info to changes.txt and whatsnew about pshell changes; removed unused ↵Chris McDonough
import and unwrap string
2011-07-10Merge branch 'mmerickel-feature.pshell'Chris McDonough
2011-07-10Merge branch 'feature.pshell' of https://github.com/mmerickel/pyramid into ↵Chris McDonough
mmerickel-feature.pshell
2011-07-10reverse position of custom decorator and http cache decoratorChris McDonough
2011-07-09add prevent_auto flag to cache controlChris McDonough
2011-07-09add prevent_auto flag to cache controlChris McDonough
2011-07-09add release ann templateChris McDonough
2011-07-09prevent an extra function call when a renderer is in useChris McDonough