summaryrefslogtreecommitdiff
path: root/docs/narr/assets.rst
AgeCommit message (Collapse)Author
2013-09-05remove chameleon refs from asset specsMichael Merickel
2013-04-05fix some cross-referencesTshepang Lekhonkhobe
2013-04-03minor typo correction 'prepresents'-->'represents'thapar
2013-03-22remove unused ignore-next-block directiveTshepang Lekhonkhobe
2013-03-09capitalize; add term roleTshepang Lekhonkhobe
2013-01-01eliminate repeated "the" wordsTshepang Lekhonkhobe
2012-02-23fixChris McDonough
2012-02-22fixChris McDonough
2012-02-22allow user to pass content type and encoding, change favicon example to use ↵Chris McDonough
FileResponse
2012-02-21Fix favicon_view example: open the file in binary mode.Marius Gedminas
Without this fix Python 3 users might get Unicode errors, and Windows users might get data corruption.
2011-10-01Fix incorrect import in static view exampleCasey Duncan
2011-09-23fixed up all the warning dealing ..note and ..warnmichr
added a hide toc for glossary to prevent warnings
2011-08-28clean up inappropriate discussions of ZCMLChris McDonough
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-07-15- get_root2 -> prepareChris McDonough
- change prepare return value to a dict, and return the registry, request, etc - various docs and changelog entries.
2011-07-14- New API class: ``pyramid.static.static_view``. This supersedes theChris McDonough
deprecated ``pyramid.view.static`` class. ``pyramid.satic.static_view`` by default serves up documents as the result of the request's ``path_info``, attribute rather than it's ``subpath`` attribute (the inverse was true of ``pyramid.view.static``, and still is). ``pyramid.static.static_view`` exposes a ``use_subpath`` flag for use when you don't want the static view to behave like the older deprecated version. - The ``pyramid.view.static`` class has been deprecated in favor of the newer ``pyramid.static.static_view`` class. A deprecation warning is raised when it is used. You should replace it with a reference to ``pyramid.static.static_view`` with the ``use_subpath=True`` argument.
2011-06-13- Remove IResponder abstraction in favor of more general IResponseChris McDonough
abstraction. - It is now possible to return an arbitrary object from a Pyramid view callable even if a renderer is not used, as long as a suitable adapter to ``pyramid.interfaces.IResponse`` is registered for the type of the returned object. See the section in the Hooks chapter of the documentation entitled "Changing How Pyramid Treats View Responses". - The Pyramid router now, by default, expects response objects returned from view callables to implement the ``pyramid.interfaces.IResponse`` interface. Unlike the Pyramid 1.0 version of this interface, objects which implement IResponse now must define a ``__call__`` method that accepts ``environ`` and ``start_response``, and which returns an ``app_iter`` iterable, among other things. Previously, it was possible to return any object which had the three WebOb ``app_iter``, ``headerlist``, and ``status`` attributes as a response, so this is a backwards incompatibility. It is possible to get backwards compatibility back by registering an adapter to IResponse from the type of object you're now returning from view callables. See the section in the Hooks chapter of the documentation entitled "Changing How Pyramid Treats View Responses". - The ``pyramid.interfaces.IResponse`` interface is now much more extensive. Previously it defined only ``app_iter``, ``status`` and ``headerlist``; now it is basically intended to directly mirror the ``webob.Response`` API, which has many methods and attributes. - Documentation changes to support above.
2011-04-20Converting docs to deprecate view parameters in config.add_route.Michael Merickel
2011-03-24It was decided that pyramid would undergo a terminology change.Joe Dallago
'Paster templates' will now be refered to as 'scaffolds,' while 'rendered templates' will remain as 'templates.' I have changed the docs to reflect this change in terminology.
2011-01-30remove reference to static ZCML directive; cant refer to it from printed bookChris McDonough
2011-01-28minor grammar fixes ('a' vs 'an')Kyle Johnson
2011-01-27module name contractionsChris McDonough
2011-01-19resource->assetChris McDonough
2011-01-16- The ``pylons_minimal``, ``pylons_basic`` and ``pylons_sqla`` pasterChris McDonough
templates were removed. Use ``pyramid_sqla`` (available from PyPI) as a generic replacement for Pylons-esque development. - All references to ``add_handler`` and the ``handler`` ZCML directive have been removed from the docs, and stubs which point to ``pylons_handlers`` package have replaced them.
2010-12-29Fix quoting.Marius Gedminas
2010-12-29Added missing :meth:.Marius Gedminas
2010-12-26wordingChris McDonough
2010-12-26wordingChris McDonough
2010-12-26explain relative asset specChris McDonough
2010-12-26wordingChris McDonough
2010-12-26wordingChris McDonough
2010-12-26- Merge "Static Assets" chapter into the "Assets" chapter.Chris McDonough
2010-12-18model -> resource; resource -> assetChris McDonough