Example #1
0
 def action_for(record, name):
     return name, '/'.join([record.url, id_for(name)])
Example #2
0
 def before_update(self, page):
     page.update(path=id_for(page.title))
Example #3
0
 def before_update(self, record):
     record.update(path=id_for(record.title))
Example #4
0
 def key(self):
     """Return the key"""
     return id_for(self.name)