diff options
| author | Malthe Borch <mborch@gmail.com> | 2008-09-30 16:13:19 +0000 |
|---|---|---|
| committer | Malthe Borch <mborch@gmail.com> | 2008-09-30 16:13:19 +0000 |
| commit | eba6f875f3fd0af8ff0aa5ba821c3f899535348f (patch) | |
| tree | a104f1753b1be7517f48f16f3a2ace771315b59e /repoze/bfg/interfaces.py | |
| parent | e3c69c7c7dc09cf39e578e1df4b106745d02f48f (diff) | |
| download | pyramid-eba6f875f3fd0af8ff0aa5ba821c3f899535348f.tar.gz pyramid-eba6f875f3fd0af8ff0aa5ba821c3f899535348f.tar.bz2 pyramid-eba6f875f3fd0af8ff0aa5ba821c3f899535348f.zip | |
Formally declare registry attribute.
Diffstat (limited to 'repoze/bfg/interfaces.py')
| -rw-r--r-- | repoze/bfg/interfaces.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/repoze/bfg/interfaces.py b/repoze/bfg/interfaces.py index 16a4a7b21..196809437 100644 --- a/repoze/bfg/interfaces.py +++ b/repoze/bfg/interfaces.py @@ -75,6 +75,13 @@ class IViewPermissionFactory(Interface): def __call__(context, request): """ Return an IViewPermission """ +class IRouter(Interface): + """WSGI application which routes requests to 'view' code based on + a view registry.""" + + registry = interface.Attribute( + """Component architecture registry local to this application.""") + class IRoutesContext(Interface): """ A context (model instance) that is created as a result of URL dispatching""" |
