'Callback function for URL defaults for this blueprint.  It\'s called
with the endpoint and values and should update the values passed
in place.'

def url_defaults(self, f):

    self.record_once((lambda s: s.app.url_default_functions.setdefault(self.name, []).append(f)))
    return f
