summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-06-04- It is now possible to control how the Pyramid router calls the WSGIChris McDonough
``start_response`` callable and obtains the WSGI ``app_iter`` based on adapting the response object to the new ``pyramid.interfaces.IResponder`` interface. The default ``IResponder`` uses Pyramid 1.0's logic to do this. To override the responder:: from pyramid.interfaces import IResponder from pyramid.response import Response from myapp import MyResponder config.registry.registerAdapter(MyResponder, (Response,), IResponder, name='') This makes it possible to reuse response object implementations which have, for example, their own ``__call__`` expected to be used as a WSGI application (like ``pyramid.response.Response``), e.g.: class MyResponder(object): def __init__(self, response): """ Obtain a reference to the response """ self.response = response def __call__(self, request, start_response): """ Call start_response and return an app_iter """ app_iter = self.response(request.environ, start_response) return app_iter
2011-06-04remove stray -iChris McDonough
2011-06-03fix renderingChris McDonough
2011-06-03minor edits to cito's editsChris McDonough
2011-06-03Merge branch 'master' of github.com:Pylons/pyramidChris McDonough
2011-06-03Merge pull request #202 from Cito/masterChris McDonough
Some minor corrections in Traversal docs.
2011-06-03Some more small fixes in the narrative docu.Christoph Zwerschke
2011-06-03Minor fixes in the Renderers docu.Christoph Zwerschke
2011-06-03Fixed quote chars.Christoph Zwerschke
2011-06-02Merge pull request #203 from inneos/patch-1Carlos de la Guardia
Edited pyramid/settings.py via GitHub
2011-06-02Edited pyramid/settings.py via GitHubBruno Binet
2011-06-02Some typos, better quoting in Traversal docs.Christoph Zwerschke
2011-06-02Merge pull request #201 from Cito/masterCarlos de la Guardia
Small error in the "Creating a Project" page
2011-06-02Fix wrong parameter name.Christoph Zwerschke
2011-05-31broke this in the last commitChris McDonough
2011-05-31Merge branch 'master' of github.com:Pylons/pyramidChris McDonough
2011-05-31the canonical import location for HTTP exceptions/responses is now ↵Chris McDonough
pyramid.response
2011-05-30Merge pull request #200 from ppaez/tutorial-updatesCarlos de la Guardia
Wiki tutorial updates
2011-05-30Sync Adding Authorization on both wiki tutorialsPatricio Paez
2011-05-30Improvements to Adding Authorization of the wiki tutorialsPatricio Paez
2011-05-30Merge branch 'master' of github.com:Pylons/pyramidChris McDonough
2011-05-30Merge pull request #198 from mmerickel/fix_wildcard_dispatchChris McDonough
Fixed a bug in dispatch matching * at the end of a route.
2011-05-30add design defense entry for simpler traversalChris McDonough
2011-05-30- Fix older CHANGES entries.Chris McDonough
- The ``pyramid.request.Request`` class now has a ``ResponseClass`` interface which points at ``pyramid.response.Response``. - The ``pyramid.request.Response`` class now has a ``RequestClass`` interface which points at ``pyramid.response.Request``. - ``pyramid.response.Response`` is now a *subclass* of ``webob.response.Response``. It also inherits from the built-in Python ``Exception`` class and implements the ``pyramid.interfaces.IExceptionResponse`` class so it can be raised as an exception from view code.
2011-05-30Removed a pdb trace. Oops!Michael Merickel
2011-05-30Fixed a bug in dispatch matching * at the end of a route.Michael Merickel
If there was another * in the pattern the check would fail, causing the final wildcard to be ignored.
2011-05-29docs fixesChris McDonough
2011-05-29docs fixesChris McDonough
2011-05-29remove unused commentsChris McDonough
2011-05-29back up to complete coverageChris McDonough
2011-05-29add some tests for WSGIHTTPExceptionChris McDonough
2011-05-29change docs; simplifyChris McDonough
2011-05-29preemptively drop 2.4 supportChris McDonough
2011-05-28move is_response back to pyramid.viewChris McDonough
2011-05-28explain betterChris McDonough
2011-05-28explain betterChris McDonough
2011-05-28use a generator; explainChris McDonough
2011-05-28bite the bullet and replace all webob.exc classes with ones of our ownChris McDonough
2011-05-28horrid workaround for no app_iter initializedChris McDonough
2011-05-27Merge branch 'master' of github.com:Pylons/pyramidChris McDonough
2011-05-27Merge pull request #197 from mmerickel/mako_defaultsChris McDonough
Attempt to fix issue #193 by setting mako default filter to 'h'.
2011-05-27Attempt to fix issue #193 by setting mako default filter to 'h'.Michael Merickel
2011-05-26Fix typo to close issue 196.Carlos de la Guardia
2011-05-26work towards unifying NotFound/HTTPNotFound and Forbidden/HTTPForbidden; 2 ↵Chris McDonough
tests fail
2011-05-25add docs about configuring a session factory for this authentication policy ↵Chris McDonough
to work
2011-05-25add notifications for new featureChris McDonough
2011-05-25Merge branch 'master' of github.com:Pylons/pyramidChris McDonough
2011-05-25Merge pull request #194 from mmerickel/session_authnChris McDonough
Session-based authentication policy
2011-05-25Finally got around to signing the contrib agreement.Michael Merickel
2011-05-25Added a simple session-based authentication policy.Michael Merickel