'Callback function for URL defaults for all view functions of the
application.  It\'s called with the endpoint and values and should
update the values passed in place.'

@setupmethod
def url_defaults(self, f):

    self.url_default_functions.setdefault(None, []).append(f)
    return f
