perf: xpack problem

pull/8931/head
feng626 2 years ago
parent 108ccf5a8b
commit 7b4c2ce97e

@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
#
import re
import socket
from django.templatetags.static import static
from collections import OrderedDict
from itertools import chain

@ -6,8 +6,7 @@ from .. import const
from .base import INSTALLED_APPS, TEMPLATES
XPACK_DIR = os.path.join(const.BASE_DIR, 'xpack')
# XPACK_ENABLED = os.path.isdir(XPACK_DIR)
XPACK_ENABLED = False
XPACK_ENABLED = os.path.isdir(XPACK_DIR)
XPACK_TEMPLATES_DIR = []
XPACK_CONTEXT_PROCESSOR = []

Loading…
Cancel
Save