formdef: fix passing of ignore_migration arg
This commit is contained in:
parent
b443e1912a
commit
aa1d54e622
|
@ -248,8 +248,8 @@ class FormDef(StorableObject):
|
|||
self.workflow_id = None
|
||||
workflow = property(get_workflow, set_workflow)
|
||||
|
||||
def get_by_urlname(cls, url_name):
|
||||
return cls.get_on_index(url_name, 'url_name')
|
||||
def get_by_urlname(cls, url_name, ignore_migration=False):
|
||||
return cls.get_on_index(url_name, 'url_name', ignore_migration=ignore_migration)
|
||||
get_by_urlname = classmethod(get_by_urlname)
|
||||
|
||||
def get_url(self, backoffice = False):
|
||||
|
|
Loading…
Reference in New Issue