disabled tree fix at startup for now

This commit is contained in:
vabene1111
2021-12-30 18:08:29 +01:00
parent f21587605a
commit c50a89c651

View File

@ -24,8 +24,8 @@ class CookbookConfig(AppConfig):
with scopes_disabled():
try:
from cookbook.models import Keyword, Food
Keyword.fix_tree(fix_paths=True)
Food.fix_tree(fix_paths=True)
#Keyword.fix_tree(fix_paths=True) # disabled for now, causes to many unknown issues
#Food.fix_tree(fix_paths=True)
except OperationalError:
if DEBUG:
traceback.print_exc()