Myles Braithwaite wrote:
> I have a patch for version 0.2.1 to get it working with django trunk.
>
> http://media.mylesbraithwaite.com/uploads/files/2008-05-29/django-tagging-0.2.1_fix_for_django_trunk.patch
>  
> ---
> *Myles Braithwaite*
> [EMAIL PROTECTED]
>
> Please consider the trees before print this email.
>
> On 2-Jun-08, at 11:05 PM, M.Ganesh wrote:
>
>>
>> Hi,
>>
>> Running 'python manage.py syncdb' after including 'tagging' in the
>> INSTALLED_APPS throws the following error.
>>
>> My django version : (0, 97, 'pre') r7543 (trunk)
>> Python version : Python 2.5.1 (r251:54863, Mar  7 2008, 03:41:45)
>> django tagging version : (0, 2.1000000000000001, None)
>>
>> How do I fix this?
>>
>> Thanks in advance
>>
>> Regards Ganesh
>>
>> Traceback (most recent call last):
>>  File "manage.py", line 11, in <module>
>>    execute_manager(settings)
>>  File
>> "/usr/lib/python2.5/site-packages/django/core/management/__init__.py",
>> line 272, in execute_manager
>>    utility.execute()
>>  File
>> "/usr/lib/python2.5/site-packages/django/core/management/__init__.py",
>> line 219, in execute
>>    self.fetch_command(subcommand).run_from_argv(self.argv)
>>  File
>> "/usr/lib/python2.5/site-packages/django/core/management/base.py", line
>> 72, in run_from_argv
>>    self.execute(*args, **options.__dict__)
>>  File
>> "/usr/lib/python2.5/site-packages/django/core/management/base.py", line
>> 85, in execute
>>    self.validate()
>>  File
>> "/usr/lib/python2.5/site-packages/django/core/management/base.py", line
>> 112, in validate
>>    num_errors = get_validation_errors(s, app)
>>  File
>> "/usr/lib/python2.5/site-packages/django/core/management/validation.py",
>> line 28, in get_validation_errors
>>    for (app_name, error) in get_app_errors().items():
>>  File "/usr/lib/python2.5/site-packages/django/db/models/loading.py",
>> line 126, in get_app_errors
>>    self._populate()
>>  File "/usr/lib/python2.5/site-packages/django/db/models/loading.py",
>> line 55, in _populate
>>    self.load_app(app_name, True)
>>  File "/usr/lib/python2.5/site-packages/django/db/models/loading.py",
>> line 70, in load_app
>>    mod = __import__(app_name, {}, {}, ['models'])
>>  File "/usr/lib/python2.5/site-packages/tagging/models.py", line 9, in
>> <module>
>>    from tagging.managers import TagManager, TaggedItemManager
>>  File "/usr/lib/python2.5/site-packages/tagging/managers.py", line 6,
>> in <module>
>>    from django.db.models.query import QuerySet, parse_lookup
>> ImportError: cannot import name parse_lookup
>>
Thanks Myles, I've already switched to svn version of django-tagging. 
Thanks for offering the patch

Regards Ganesh


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to