mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-06 14:48:02 -05:00
disabled tree fix at startup for now
This commit is contained in:
@@ -24,8 +24,8 @@ class CookbookConfig(AppConfig):
|
|||||||
with scopes_disabled():
|
with scopes_disabled():
|
||||||
try:
|
try:
|
||||||
from cookbook.models import Keyword, Food
|
from cookbook.models import Keyword, Food
|
||||||
Keyword.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)
|
#Food.fix_tree(fix_paths=True)
|
||||||
except OperationalError:
|
except OperationalError:
|
||||||
if DEBUG:
|
if DEBUG:
|
||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
|
|||||||
Reference in New Issue
Block a user