summaryrefslogtreecommitdiff
path: root/docs/narr/hooks.rst
AgeCommit message (Collapse)Author
2017-06-26Fix link to Venusian docsSteve Piercy
2017-04-08grammar fixSteve Piercy
2017-01-20Fix typo to be consistent with API docsSteve Piercy
- Closes #2904
2016-11-19require tuple variants on IResourceURL as wellMichael Merickel
2016-11-19add warnings about how notfound/forbidden views are only invoked for raised ↵Michael Merickel
exceptions fixes #1531
2016-09-28Merge branch 'master' into exception_onlyMichael Merickel
2016-09-28derive exception views separately from normal viewsMichael Merickel
- previously the multiview was shared for both exception and hot-route, but now that we allow some exception-only views this needed to be separated - add ViewDeriverInfo.exception_only to detect exception views - do not prevent http_cache on exception views - optimize secured_view and csrf_view derivers to remove themselves from the view pipeline for exception views
2016-09-12document more clearly the ``__call__`` method on route and view predicatesMichael Merickel
fixes #1549
2016-07-19Change gendered language in examplesJon Davidson
Some examples in documentation use "dude" and "bro" -- for example, "Not found, bro". While playful, this language can make some people uncomfortable. I have changed the wording to something equally playful that doesn't make assumptions about the reader's gender.
2016-04-25fix explanation of require_csrfMichael Merickel
2016-04-24add sphinx doctests for hooks.rstSteve Piercy
2016-04-17better explain view deriver optionsChris McDonough
2016-04-10rewrite csrf checks to support a global setting to turn it onMichael Merickel
- only check csrf on POST - support "pyramid.require_default_csrf" setting - support "require_csrf=True" to fallback to the global setting to determine the token name
2016-04-10add a csrf_view to the view pipeline supporting a require_csrf optionMichael Merickel
2016-04-08update constraints for derivers as well as docsMichael Merickel
2016-04-07separate the viewderiver module and allow overriding the mapperMichael Merickel
2016-03-21polish view derivers docs, minor grammarSteve Piercy
2016-03-17fix deriver docs to explain ordering issuesMichael Merickel
2016-03-14add a docstring for add_view_deriver and expose the method to the api docsMichael Merickel
2016-03-14do not guess at the name of the view deriver without further discussionMichael Merickel
2016-03-14use the implicit name in the doc examplesMichael Merickel
2016-03-14first cut at documenting view deriversMichael Merickel
2016-01-20Do not use trailing . on versionadded rst directive. It automatically adds a .Steve Piercy
2015-11-03minor grammar, fix .rst markup, rewrap to 79 columnsSteve Piercy
2015-02-07move the IResponseFactory into the public apiMichael Merickel
2015-02-07Document the factory requires a positional argumentBert JW Regeer
2015-01-22move index and reference down to proper section so that docs will build on ↵Steve Piercy
master again
2015-01-07Fix typoPavlo Kapyshin
2015-01-01Mkae the response factory a factory that takes a requestJohn Anderson
2014-12-27Added a version added flagJohn Anderson
2014-12-27basic docs cleanupJohn Anderson
2014-12-27Add the `set_response_factory` APIJohn Anderson
2014-05-21oops, re-clarify that tweens should not have mutable stateMichael Merickel
2014-05-21clarify tween thread-safetyMichael Merickel
2014-05-18Draw attention that tweens instances are unique and shared between threadsflibustenet
Forgetting that tween instance are not instantiated for each request leads to threads issues difficult to detect
2014-05-13Update hooks.rstsynthomat
'self' param was omitted in the constructor of simple_tween_factory class
2013-11-17Should return the simple_tween here, not the handler.Antti Haapala
2013-11-17Removed extra indentation from some examples (:linenos: should be indented ↵Antti Haapala
with the same indentation as the rest of the code block)
2013-11-1680 charsChris McDonough
2013-11-16Enhanced the narrative documentation for tweens.Antti Haapala
2013-09-08- The ``renderer_globals_factory`` argument to theChris McDonough
``pyramid.config.Configurator` constructor and its ``setup_registry`` method has been removed. The ``set_renderer_globals_factory`` method of ``pyramid.config.Configurator`` has also been removed. The (internal) ``pyramid.interfaces.IRendererGlobals`` interface was also removed. These arguments, methods and interfaces had been deprecated since 1.1. Use a ``BeforeRender`` event subscriber as documented in the "Hooks" chapter of the Pyramid narrative documentation instead of providing renderer globals values to the configurator.
2013-09-08Update documentation to reflect the dotted python nameBert JW Regeer
2013-09-07- The ``pyramid.events.NewResponse`` event is now sent **after** responseChris McDonough
callbacks are executed. It previously executed before response callbacks were executed. Rationale: it's more useful to be able to inspect the response after response callbacks have done their jobs instead of before. Closes #1116.
2013-08-15prefer the functionish printPhilip Jenvey
2013-04-21docs/narr/hooks.rst: some improvementsTshepang Lekhonkhobe
* consistency fixes: "not found view" --> "Not Found View" * use comparable code for Imperative and Declarative configuration * remove unused import, HTTPForbidden
2013-04-06fix some cross-referencesTshepang Lekhonkhobe
Also, pyramid_zcml is cross-referenced, so add it to intersphinx_mapping dict.
2013-04-05fix some cross-referencesTshepang Lekhonkhobe
2013-04-01Improve phrasingCatalin Iacob
2013-04-01Remove extra wordCatalin Iacob
2013-04-01Consistently link middleware term to the glossaryCatalin Iacob