Ask Your Question

How do you prefer the character case of tags handled?

asked 2011-01-29 10:21:18 -0500

Evgeny's avatar

updated 2011-01-30 17:58:03 -0500

What do you think, should tags be lowercased? Is there a compelling case to allow upper-case characters in the tags? Anyone strongly prefers sentence-cased tags?

Looks like there is a glitch currently when someone tries to enter tag, which is already in the database, but has a different character case.

The two solutions I can think of are:

  • force lower-case all tag input -- there will be code to migrate tag names on your sites in that case)
  • allow "freehand" case on tags -- in this case tag input will be cleaned against the case of the tags already present in the database and the very first tag entry will be unrestricted

Which option do you like better?


now askbot allows both styles, switchable in "settings->data entry and display->force lowercase tags" (default is False), also there is a management command "fix_question_tags" that fixes inconsistencies in the tags.

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2011-01-29 11:29:16 -0500

mmx's avatar

updated 2011-01-29 11:29:39 -0500

I guess it's better to downcase tags before searching and keep them lower case in database.

edit flag offensive delete link more

answered 2011-01-29 11:11:27 -0500

alecs's avatar

My opinion is to lowecase them

edit flag offensive delete link more

answered 2011-01-29 11:39:05 -0500

Alexcr's avatar

lowecase :)

edit flag offensive delete link more

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-01-29 10:21:18 -0500

Seen: 396 times

Last updated: Feb 19 '11