class A:
...
class B(A):
...
@view_config(context=A, name='foo')
def foo():
...
is there a way to match /someB/foo to A foo() if /someB/foo resolves to context B, but no @view_config(context=B, name='foo') has been defined (but as B is a child of A it could matches foo() registered on A) ?
Hello,
given 2 ressources and a @view_config:
is there a way to match /someB/foo to A foo() if /someB/foo resolves to context B, but no @view_config(context=B, name='foo') has been defined (but as B is a child of A it could matches foo() registered on A) ?
Thanks