summaryrefslogtreecommitdiff
path: root/docs/narr/introspector.rst
AgeCommit message (Collapse)Author
2019-12-24security policy docs and legacy policy improvementsMichael Merickel
- Added `set_security_policy`` to more places in the docs. - Ensure that the authn/authz policies are not used at all if the legacy policy is not in effect to avoid edge cases where the code would skip the security policy and use the authn/authz policy on accident. - Change deprecation warnings in code to reference the docs by name instead of by URL.
2018-08-18Clean up code-blocks in introspectorSteve Piercy
2016-04-19replace pyramid.require_default_csrf setting with ↵Michael Merickel
config.set_default_csrf_options
2015-11-04add missing periodSteve Piercy
(cherry picked from commit c7b1bff)
2015-11-04update tb_introspector.png, minor grammar, fix .rst markup, rewrap to 79 columnsSteve Piercy
2015-01-07Fix typos in configuration introspection documentationPavlo Kapyshin
2015-01-07Fix "add_subscriber" spellingPavlo Kapyshin
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-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-03-12a warning is overkillTshepang Lekhonkhobe
2013-01-02eliminate other repeated wordsTshepang Lekhonkhobe
2012-11-21document new introspectable attrsChris McDonough
2012-09-19A ``check_csrf`` view predicate was added. For example, you can now doChris McDonough
``config.add_view(someview, check_csrf=True)``. When the predicate is checked, if the ``csrf_token`` value in ``request.params`` matches the csrf token in the request's session, the view will be permitted to execute. Otherwise, it will not be permitted to execute.
2012-05-04add introspection to whats uniqueChris McDonough
2012-02-20FeaturesChris McDonough
-------- - Add an ``introspection`` boolean to the Configurator constructor. If this is ``True``, actions registered using the Configurator will be registered with the introspector. If it is ``False``, they won't. The default is ``True``. Setting it to ``False`` during action processing will prevent introspection for any following registration statements, and setting it to ``True`` will start them up again. This addition is to service a requirement that the debug toolbar's own views and methods not show up in the introspector. Backwards Incompatibilities --------------------------- - Remove ``pyramid.config.Configurator.with_context`` class method. It was never an API, it is only used by ``pyramid_zcml`` and its functionality has been moved to that package's latest release. This means that you'll need to use the latest release of ``pyramid_zcml`` with this release of Pyramid. - The ``introspector`` argument to the ``pyramid.config.Configurator`` constructor API has been removed. It has been replaced by the boolean ``introspection`` flag. - The ``pyramid.registry.noop_introspector`` API object has been removed.
2012-02-18move add_traverser and add_resource_url_adapter to adaptersChris McDonough
2012-02-15- Add ``pyramid.config.Configurator.set_traverser`` API method. See theChris McDonough
Hooks narrative documentation section entitled "Changing the Traverser" for more information. This is not a new feature, it just provides an API for adding a traverser without needing to use the ZCA API.
2011-12-09add static views introspection categoryChris McDonough
2011-12-05too many pregenerator?Steve Piercy
2011-12-05grammarSteve Piercy
2011-12-05grammar correctionSteve Piercy
2011-12-03wordingChris McDonough
2011-12-03make add_route generate the right request methods introspection valueChris McDonough
2011-12-03add a noop introspector (allow introspection to be turned off)Chris McDonough
2011-12-03flesh out categories moreChris McDonough
2011-12-03add more content to the introspectables narr chapter; adjust introspection ↵Chris McDonough
registrations while doing so
2011-12-03add skeleton for using introspection chapterChris McDonough