summaryrefslogtreecommitdiff
path: root/docs/narr/resources.rst
AgeCommit message (Collapse)Author
2018-08-18Clean up code-blocks in resourcesSteve Piercy
2015-10-24minor grammar, rewrap 79 columns, some .rst syntax fixesSteve Piercy
2014-02-10- Garden PR #1121Steve Piercy
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-10-27Security APIs on pyramid.request.RequestMatt Russell
The pyramid.security Authorization API function has_permission is made available on the request. The pyramid.security Authentication API functions are now available as properties (unauthenticated_userid, authenticated_userid, effective_principals) and methods (remember_userid, forget_userid) on pyramid.request.Request. Backwards compatibility: For each of the APIs moved to request method or property, the original API in the pyramid.security module proxies to the request. Reworked tests to check module level b/c wrappers call through to mixins for each API. Tests that check no reg on request now do the right thing. Use a response callback to set the request headers for forget_userid and remember_userid. Update docs. Attempt to improve a documentation section referencing the pyramid.security.has_permission function in docs/narr/resources.rst Ensures backwards compatiblity for `pyramid.security.forget` and `pyramid.security.remember`.
2013-06-06Resources.rst quick typo fixOle Morten Halvorsen
There's 3 keys in the info dict, not two.
2013-04-05replace a sentence that doesn't quite fitTshepang Lekhonkhobe
It's as if pyramid_traversalwrapper was already introduced.
2012-02-17docs fixesChris McDonough
2012-02-15- Replace all mentions of zope.interface.implements withChris McDonough
zope.interface.implementer.
2011-09-23fixed up all the warning dealing ..note and ..warnmichr
added a hide toc for glossary to prevent warnings
2011-09-23Edited docs/narr/resources.rst via GitHubDouglas Cerna
2011-08-14- The ``route_url``, ``route_path``, ``resource_url``, ``static_url``, andChris McDonough
``current_route_url`` functions in the ``pyramid.url`` package now delegate to a method on the request they've been passed, instead of the other way around. The pyramid.request.Request object now inherits from a mixin named pyramid.url.URLMethodsMixin to make this possible, and all url/path generation logic is embedded in this mixin. - Narrative and API documentation which used the ``route_url``, ``route_path``, ``resource_url``, ``static_url``, and ``current_route_url`` functions in the ``pyramid.url`` package have now been changed to use eponymous methods of the request instead.
2011-07-20add more index markersChris McDonough
2011-06-03minor edits to cito's editsChris McDonough
2011-06-03Some more small fixes in the narrative docu.Christoph Zwerschke
2011-01-30fix referencesChris McDonough
2011-01-28minor grammar fixes ('a' vs 'an')Kyle Johnson
2011-01-27module name contractionsChris McDonough
2011-01-21- Added "What's New in Pyramid 1.0" chapter to HTML rendering ofChris McDonough
documentation.
2011-01-08Merge branch '1.0a8' of https://github.com/tomlikestorock/pyramid into ↵Chris McDonough
tomlikestorock-1.0a8
2011-01-08fixing typotomlikestorock
2011-01-03edit much ado chapterChris McDonough
2010-12-31Merge https://github.com/Pylons/pyramidCasey Duncan
2010-12-29Whitespace bigotry.Marius Gedminas
2010-12-29Markup fix.Marius Gedminas
2010-12-27Merge https://github.com/Pylons/pyramidCasey Duncan
2010-12-23note __resource_url__ requirementsChris McDonough
2010-12-21Merge https://github.com/Pylons/pyramidCasey Duncan
2010-12-21add missing spaceCasey Duncan
2010-12-21remove word typically to improve flowCasey Duncan
2010-12-21stray andChris McDonough
2010-12-20make it clear that leaf resource's __getitem__ must always raise KeyErrorCasey Duncan
2010-12-20reword, reorder paragraph for clarityCasey Duncan
2010-12-20promote parenthetical to an actual sentence, minor rewordCasey Duncan
2010-12-21- Added "Finding the Root Resource" to Resources narrative chapter.Chris McDonough
- Added "Finding a Resource With a Class or Interface in Lineage" to Resources narrative chapter.
2010-12-20- Added "Obtaining the Lineage of a Resource" to the Resources narrativeChris McDonough
chapter. - Added "Determining if a Resource is In The Lineage of Another Resource" to Resources narrative chapter.
2010-12-20FeaturesChris McDonough
-------- - If a resource implements a ``__resource_url__`` method, it will be called as the result of invoking the ``pyramid.url.resource_url`` function to generate a URL, overriding the default logic. See the new "Generating The URL Of A Resource" section within the Resources narrative chapter. Documentation ------------- - Added "Generating The URL Of A Resource" section to the Resources narrative chapter (includes information about overriding URL generation using ``__resource_url__``). - Added "Generating the Path To a Resource" section to the Resources narrative chapter. - Added "Finding a Resource by Path" section to the Resources narrative chapter.
2010-12-20rearrange and add example resource treeChris McDonough
2010-12-18model->resource; make docs render without warningsChris McDonough
2010-12-18model -> resource; resource -> assetChris McDonough
2010-12-09Merge branch 'twophase'Chris McDonough
Conflicts: pyramid/configuration.py
2010-12-09fix docs: pyramid.configuration -> pyramid.configChris McDonough
2010-12-07remove misleading section from resources docsChris McDonough
2010-11-28Narrative doc cleanupBlaise Laflamme
2010-11-09- All references to Pyramid-the-application were changed from :mod:`pyramid`Chris McDonough
to :app:`Pyramid`. A custom role setting was added to ``docs/conf.py`` to allow for this. (internal)
2010-10-25convert narrative docs to PyramidChris McDonough
2010-03-28quick fixesCarlos de la Guardia
2010-01-18Prep for b1Chris McDonough
Merge a bunch of paper-based docs fixes Configure logging during bfgshell.
2010-01-17Section header fixes.Chris McDonough
2009-12-27- Added manual index entries to generated index.Chris McDonough