Skip to content
Snippets Groups Projects
Commit f2e426af authored by Erwan Rouchet's avatar Erwan Rouchet
Browse files

Merge branch 'fix-627' into 'master'

Create all new ElementPath using default database to analyse current state

Closes #627

See merge request !1198
parents f5ba2095 890c0ddb
No related branches found
No related tags found
1 merge request!1198Create all new ElementPath using default database to analyse current state
......@@ -132,7 +132,7 @@ class Element(IndexableModel):
delete_element(self.id)
Element.objects.filter(id=self.id)._raw_delete(using='default')
@transaction.atomic
@transaction.atomic(using="default")
def add_parent(self, parent, skip_children=False):
'''
Add an element as ancestor
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment