gpt4 book ai didi

python - django-tagging 的安装问题

转载 作者:太空宇宙 更新时间:2023-11-04 11:06:11 25 4
gpt4 key购买 nike

我在使用 django-tagging 时遇到问题.我试着按照 documentation但是在第二步就失败了

Once you've installed Django Tagging and want to use it in your Django applications, do the following:

  1. Put 'tagging' in your INSTALLED_APPS setting.
  2. Run the command manage.py syncdb.

The syncdb command creates the necessary database tables and creates permission objects for all installed apps that need them.

我得到一个带有以下错误的 python Traceback:

ImportError: cannot import name parse_lookup

以下有效,所以我认为它已正确安装:

>> import tagging
>> tagging.VERSION
(0, 2.1000000000000001, None)

我错过了什么?

最佳答案

http://code.djangoproject.com/ticket/7680

parse_lookup 已被删除。不确定这将如何影响标记。可能想做一些搜索。

更新:显然它已在标记的主干版本中修复。下载最新的 SVN 标记版本。

关于python - django-tagging 的安装问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/346426/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com