It is now possible to calculate the redirect target in the navigation class with the following idiom:
@redirection('+source', status=301) def redirect_source(self): return canonical_url(self.context)
(I included the status code here to indicate a permanent redirect)
It is now possible to calculate the redirect target in the navigation class with the following idiom:
@redirection( '+source' , status=301) source( self): url(self. context)
def redirect_
return canonical_
(I included the status code here to indicate a permanent redirect)