Ask Your Question

How can an admin create lots of tags all at once?

asked 2011-02-17 20:08:34 -0600

mwise's avatar

updated 2011-02-17 21:16:56 -0600

Benoit's avatar

We have a use case where we'd like to seed our askbot with a lot of tags that reference packages in our main repository. This has two functions for us, our users will select the appropriate tags and our developers can sign up to get emails from the tags that are relevant to them so that we can answer questions as they come in without looking for them.

edit retag flag offensive close merge delete


I believe the issue is that question-less tags are automatically deleted. But it's been a while since I looked at that. I know work was done on renaming and merging tags.
Benoit's avatar Benoit  ( 2011-02-17 21:18:20 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2011-02-18 13:57:34 -0600

Evgeny's avatar

It is possible to write a management command or even user interface to pre-fill tags. The unused tags are deleted only when a tag is deleted from a question and that use of tag happens to be the only one.

There is also a management command delete_unused_tags - that does just that, but it does not run automatically.

Maybe it would make sense to be able to protect certain tags from being deleted.

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-02-17 20:08:34 -0600

Seen: 240 times

Last updated: Feb 18 '11