summaryrefslogtreecommitdiff
path: root/docs/narr/hooks.rst
AgeCommit message (Collapse)Author
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
2013-04-01Fix typo that broke the reference to pyramid.events.NewRequestCatalin Iacob
2013-04-01Remove extra wordCatalin Iacob
2013-03-12Merge pull request #896 from tshepang/consistencyMichael Merickel
consistency fixes
2013-03-09consistencyTshepang Lekhonkhobe
2013-03-09capitalize; add term roleTshepang Lekhonkhobe
2013-03-05update some links and fix othersTshepang Lekhonkhobe
2013-02-23replace awkward explanationTshepang Lekhonkhobe
2013-02-09fix warning block for newer docutils versionsChris McDonough
2013-02-09Merge pull request #824 from kusut/add_request_methodChris McDonough
narrative docs for add_request_method