First time here? Check out the FAQ!

Revision history  [back]

Is there a way to purge unused tags from the DB?

If I miss-tagged a question with "perview" instead of "preview". I go back and fix the tag.

However, I now have a tag "perview" in the system.
Is there a way to purge those unused tags? It would be ok if I had to explicitly do it.

something like: "python manage.py purge_tag perview"

If the in tag was used, I should get an error:

 "Error: Tag 'perview' is in use (in 2 questions: [148, 172])"

Showing the # of questions and the question number would be a nice bonus.

Is there a way to purge unused tags from the DB?

If I miss-tagged a question with "perview" instead of "preview". I go back and fix the tag.

However, I now have a tag "perview" in the system.
Is there a way to purge those unused tags? It would be ok if I had to explicitly do it.

something like: "python manage.py purge_tag perview"

If the in tag was used, I should get an error:

 "Error: Tag 'perview' is in use (in 2 questions: [148, 172])"

Showing the # of questions and the question number would be a nice bonus.