summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki2/src/basiclayout
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-08-20 13:05:13 -0400
committerChris McDonough <chrism@plope.com>2011-08-20 13:05:13 -0400
commitb8c79771a186f1032635fc640b3cecc2c9e281ad (patch)
treec329dfaf72b40ae2358423a78d48fefd0f5752b4 /docs/tutorials/wiki2/src/basiclayout
parent5c6963152fcc756a06d2aea80a4e85f1c9bef7ee (diff)
downloadpyramid-b8c79771a186f1032635fc640b3cecc2c9e281ad.tar.gz
pyramid-b8c79771a186f1032635fc640b3cecc2c9e281ad.tar.bz2
pyramid-b8c79771a186f1032635fc640b3cecc2c9e281ad.zip
- The ``pyramid.request.Request.static_url`` API (and its brethren
``pyramid.request.Request.static_path``, ``pyramid.url.static_url``, and ``pyramid.url.static_path``) now accept an asbolute filename as a "path" argument. This will generate a URL to an asset as long as the filename is in a directory which was previously registered as a static view. Previously, trying to generate a URL to an asset using an absolute file path would raise a ValueError.
Diffstat (limited to 'docs/tutorials/wiki2/src/basiclayout')
0 files changed, 0 insertions, 0 deletions