From 170124352a495438ef689d3376988bc8aefa8876 Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Sun, 4 Nov 2012 19:10:16 -0600 Subject: update changelog, close #627 --- CHANGES.txt | 5 +++++ pyramid/config/views.py | 2 ++ 2 files changed, 7 insertions(+) diff --git a/CHANGES.txt b/CHANGES.txt index 5175baa5a..d57444ad0 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -37,6 +37,11 @@ Features permit limited composition reuse of the decorator by other software that wants to provide custom decorators that are much like view_config. +- Allow an iterable of decorators to be passed to + ``pyramid.config.Configurator.add_view``. This allows views to be wrapped + by more than one decorator without requiring combining the decorators + yourself. + Bug Fixes --------- diff --git a/pyramid/config/views.py b/pyramid/config/views.py index 0cd61cba5..10f972633 100644 --- a/pyramid/config/views.py +++ b/pyramid/config/views.py @@ -868,6 +868,8 @@ class ViewsConfiguratorMixin(object): think about preserving function attributes such as ``__name__`` and ``__module__`` within decorator logic). + Passing an iterable is only supported as of :app:`Pyramid` 1.4a4. + mapper A Python object or :term:`dotted Python name` which refers to a -- cgit v1.2.3