summaryrefslogtreecommitdiff
path: root/CHANGES.txt
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-08-25 01:30:40 +0000
committerChris McDonough <chrism@agendaless.com>2009-08-25 01:30:40 +0000
commit3d1abbd5be1d1bc0f27e488059ccf7aaca225f31 (patch)
treea47ad780bc4122d557ef139f812983b7bc3700e5 /CHANGES.txt
parent241390d911639cb658bbbbbf1bf3d8c21e0c0270 (diff)
downloadpyramid-3d1abbd5be1d1bc0f27e488059ccf7aaca225f31.tar.gz
pyramid-3d1abbd5be1d1bc0f27e488059ccf7aaca225f31.tar.bz2
pyramid-3d1abbd5be1d1bc0f27e488059ccf7aaca225f31.zip
- The ``repoze.bfg.view.static`` class now accepts a string as its
first argument ("root_dir") that represents a package-relative name e.g. ``somepackage:foo/bar/static``. This is now the preferred mechanism for spelling package-relative static paths using this class. A ``package_name`` keyword argument has been left around for backwards compatibility. If it is supplied, it will be honored. - Fixed documentation for ``repoze.bfg.view.static`` (in narrative ``Views`` chapter).
Diffstat (limited to 'CHANGES.txt')
-rw-r--r--CHANGES.txt16
1 files changed, 14 insertions, 2 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index 50b9758f4..fc86ac5b6 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,8 +1,20 @@
Next release
============
-- Added ``static`` ZCML directive which registers a route for a static
- view that serves up files in a directory.
+- The ``repoze.bfg.view.static`` class now accepts a string as its
+ first argument ("root_dir") that represents a package-relative name
+ e.g. ``somepackage:foo/bar/static``. This is now the preferred
+ mechanism for spelling package-relative static paths using this
+ class. A ``package_name`` keyword argument has been left around for
+ backwards compatibility. If it is supplied, it will be honored.
+
+- Fixed documentation for ``repoze.bfg.view.static`` (in narrative
+ ``Views`` chapter).
+
+- Added ``static`` ZCML directive which registers a route for a view
+ that serves up files in a directory. See the "Views" narrative
+ documentation chapter's "Serving Static Resources Using a ZCML
+ Directive" section for more information.
- "tests" module removed from the bfg_alchemy paster template; these
tests didn't work.