perf: xpack problem

pull/8931/head
feng626 2022-09-19 19:04:57 +08:00
parent 108ccf5a8b
commit 7b4c2ce97e
2 changed files with 1 additions and 3 deletions

View File

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

View File

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