First time here? Check out the FAQ!

Error asking questions with multiple tags

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!

psyklic's avatar
asked 2011-03-09 19:52:10 -0500
edit flag offensive 0 remove flag close merge delete


add a comment see more comments

1 Answer


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.

Evgeny's avatar
answered 2011-03-09 20:26:14 -0500
edit flag offensive 0 remove flag delete link


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
add a comment see more comments