First time here? Check out the FAQ!
4

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

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.

Benoit's avatar
875
Benoit
updated 2011-02-17 21:16:56 -0500
mwise's avatar
125
mwise
asked 2011-02-17 20:08:34 -0500
edit flag offensive 0 remove flag 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's avatar Benoit (2011-02-17 21:18:20 -0500) edit
add a comment see more comments

1 Answer

1

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.

Evgeny's avatar
13.2k
Evgeny
answered 2011-02-18 13:57:34 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments