diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-08-25 01:30:40 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-08-25 01:30:40 +0000 |
| commit | 3d1abbd5be1d1bc0f27e488059ccf7aaca225f31 (patch) | |
| tree | a47ad780bc4122d557ef139f812983b7bc3700e5 /repoze/bfg/zcml.py | |
| parent | 241390d911639cb658bbbbbf1bf3d8c21e0c0270 (diff) | |
| download | pyramid-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 'repoze/bfg/zcml.py')
| -rw-r--r-- | repoze/bfg/zcml.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/repoze/bfg/zcml.py b/repoze/bfg/zcml.py index e38fd3449..e0c8d2e8e 100644 --- a/repoze/bfg/zcml.py +++ b/repoze/bfg/zcml.py @@ -354,7 +354,7 @@ class IStaticDirective(Interface): required=True) cache_max_age = Int( - title=u"Cache maximum age", + title=u"Cache maximum age in seconds", required=False, default=None) |
