Django未来功能absloute_import未定义

2024-09-30 05:27:38 发布

您现在位置:Python中文网/ 问答频道 /正文

我使用芹菜作为我的项目,并在一开始调用我的应用程序时执行以下操作:

from __future__ import absloute_import

from .celery import app as celery_app

当我运行服务器时,它会说。。你知道吗

future feature absloute_import is not defined

我使用的是Python2.7和Django1.7 有什么问题??你知道吗


Tags: 项目fromimportapp应用程序isasnot

热门问题