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
Nope. django-tagging 0.3 does not work on django 1.1. This is a known issue described in google code
+1
source to share
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 to share