Remove update_locale check

pull/7881/head
Tidiane Dia 2022-01-07 14:42:13 +00:00 zatwierdzone przez Matt Westcott
rodzic 9b3fc33e60
commit 3ccacdf10e
1 zmienionych plików z 0 dodań i 4 usunięć

Wyświetl plik

@ -82,10 +82,6 @@ class CreatePageAliasAction:
raise CreatePageAliasIntegrityError(
"You cannot copy a tree branch recursively into itself"
)
if not parent.is_root() and self.update_locale is not None:
raise CreatePageAliasIntegrityError(
"You cannot manually set locale of a page that's not at the root of the tree."
)
if (
self.user