Ask Your Question
4

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

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

mwise gravatar image

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

Benoit gravatar image

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

Comments

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 gravatar imageBenoit ( 2011-02-17 21:18:20 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

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

Evgeny gravatar image

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

Stats

Asked: 2011-02-17 20:08:34 -0500

Seen: 143 times

Last updated: Feb 18 '11