From 5a7f9a4d57424f14a1e072cc06b6bf7a191a7d08 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 16 Jan 2009 18:58:16 +0000 Subject: Features -------- - The functionality of ``repoze.bfg.convention`` has been merged into the core. Applications which make use of ``repoze.bfg.convention`` will continue to work indefinitely, but it is recommended that apps stop depending upon it. To do so, substitute imports of ``repoze.bfg.convention.bfg_view`` with imports of ``repoze.bfg.view.bfg_view``, and change the stanza in ZCML from ```` to ````. As a result of the merge, bfg has grown a new dependency: ``martian``. - View functions which use the pushpage decorator are now pickleable (meaning their use won't prevent a ``configure.zcml.cache`` file from being written to disk). Implementation Changes ---------------------- - The ``wsgiapp`` decorator now uses ``webob.Request.get_response`` to do its work rather than relying on howgrown WSGI code. --- repoze/bfg/tests/grokkedapp/__init__.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 repoze/bfg/tests/grokkedapp/__init__.py (limited to 'repoze/bfg/tests/grokkedapp/__init__.py') diff --git a/repoze/bfg/tests/grokkedapp/__init__.py b/repoze/bfg/tests/grokkedapp/__init__.py new file mode 100644 index 000000000..9d91eb80f --- /dev/null +++ b/repoze/bfg/tests/grokkedapp/__init__.py @@ -0,0 +1,11 @@ +from repoze.bfg.view import bfg_view +from zope.interface import Interface + +class INothing(Interface): + pass + +@bfg_view(for_=INothing) +def grokked(context, request): + """ """ + + -- cgit v1.2.3