Ask Your Question

Error asking questions with multiple tags

asked 2011-03-09 19:52:10 -0500

psyklic's avatar

I have version 0.6.73 installed and everything works great. However, whenever a question is submitted with more than one tag, an error occurs. I'm frustrated because it does not seem to happen on

MultipleObjectsReturned at /questions/ask/ get() returned more than one Tag -- it returned 2! Lookup parameters were {'name__iexact': u'law'}

Might anyone have any insight into this? Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2011-03-09 20:26:14 -0500

Evgeny's avatar

It seems that somehow you have more than one character case variant of a tag name.

You should be able to fix this with a management command "fix_question_tags", but you need to know names of tags before

Please, look up usage of this and other commands in the manual.

Before that please do back up the database.

It is not clear just why this happened... There is a filter which prevents creation of tags with the variants of the case.

Also - you could think about turning on "force lowercase tags" setting in the "data entry" section.

edit flag offensive delete link more


Wow thank you for the fast, outstanding reply -- the management command fixed the problem! I'm going to try forcing the lowercase tags as well.
psyklic's avatar psyklic  ( 2011-03-09 21:13:16 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2011-03-09 19:52:10 -0500

Seen: 387 times

Last updated: Mar 09 '11