Does django-tagging 0.3 work with django 1.1?

I have a django 1.1 app for which it will save a lot of work to use django-tagging.

I added a TagField () model to the model.

If I don't register the model, I can keep the model instances. But when I register the model

tagging.register(mymodel)

      

Then save the instance it fails like this:

Traceback (most recent call last): 
   File "scripts/migrate-qna.py", line 42, in <module>
     qna.save()
   ...
   File "django/db/backends/util.py", line 19, in execute
   psycopg2.ProgrammingError: can't adapt`

      

The question is, is this my problem, or if django-tagging 0.3 is just not compatible with django 1.1?

+2


source to share


4 answers


The error that revealed the problem was issue 233 . It is now fixed in the trunk compared to r172.



+1


source


Nope. django-tagging 0.3 does not work on django 1.1. This is a known issue described in google code



+1


source


I have the same problem as you. At least using a tagging app without job registration ...

Unfortunately, the development of django-tagging seems a bit icy, so the fix is ​​probably a long time ...

0


source


If you get the error "TemplateSyntaxError: Exception thrown while rendering:" Query "object has no" get_from_clause "attribute, here is a patch:

http://code.google.com/p/django-tagging/issues/detail?id=233&start=100

hope it will be added to the SVN repo soon ..!

0


source







All Articles