AttributeError at / 'module' object has no attribute 'quote_name'

62 views
Skip to first unread message

robataka

unread,
Oct 1, 2007, 8:30:32 PM10/1/07
to Feedjack
Hey Guys,

I think I did something stupid to my setup. I am now getting the
following error:

AttributeError at / 'module' object has no attribute 'quote_name'

The traceback points to line 74 or so which is:
where=[\
'%s.%s=%s.%s' % (\
backend.quote_name('feedjack_tag'), \
backend.quote_name('id'), \
backend.quote_name('feedjack_post_tags'), \
backend.quote_name('tag_id')), \
'%s.%s IN (%s)' % (\
backend.quote_name('feedjack_post_tags'), \
backend.quote_name('post_id'), \
', '.join([str(post.id) for post in object_list]))])

Obviously its not understanding the quotename attached to backend. I
did upgrade my django version to the latest from subversion over the
weekend. I am assuming that is what probably is causing this. Can
anybody confirm? I can drop it back to 0.96 if need be, but I thought
I'd ask first.

Rob

robataka

unread,
Oct 5, 2007, 12:49:53 PM10/5/07
to Feedjack

It was in fact due to my use of the django trunk. Or at least
reverting to 0.96 eliminated the error. However the following post
for the comment-utils modules indicates :

http://code.google.com/p/django-comment-utils/issues/detail?id=12
"There was a backwards incompatible change made to django svn
(completed in
rev 5982) which removed django.db.backend and replaced it with
django.db.connection.ops."

I have not gone through the code to see how easy the change is.
But I thought I'd follow up in case anyone else runs into it.


Reply all
Reply to author
Forward
0 new messages