Problems installing django-tagging

I am having problems using django-tagging . I am trying to follow the documentation but the second step fails

Once you have Django Tagging installed and want to use it in your Django applications, follow these steps:

  • Place 'tagging'

    in setting INSTALLED_APPS

    .
  • Run the command manage.py syncdb

    .

The command syncdb

creates the required database tables and creates permission objects for all installed applications that they need.

I am getting Python Traceback with the following error:

ImportError: cannot import name parse_lookup

      

The following steps, so I think it is installed correctly:

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

      

What am I missing?

+1


source to share


2 answers


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

parse_lookup removed. Not sure how this will affect the labeling. You might want to do some searching.



Update: Apparently it was fixed in the tag version. Download the latest SVN Tags.

+4


source


I recently had the same error. I have checked the trunk release which seems to work fine.



In [1]: import tagging; tagging.VERSION
Out[1]: (0, 3, 'pre')

      

0


source







All Articles