First time here? Check out the FAQ!

Revision history  [back]

Tag subscription statistics commands

I would like to see a couple of commands that would help me gather information on tag usage.

Tag subscription Statistics
For every tags in the system, dump the number of users that have the tag marked as interesting and ingored.
This would allow an admin to know what tags are being followed (as opposed to how the questions are classified).

manage.py tag-sub-stats
Tag              Interesting  Ignore
===============  ===========  ======
centOS                2         0
fedora                22        5
...

User Tags Usage
For every user in the system, prints out the list of ignored and followed tags

manage.py tag-user-list
User              Tags
===============  ======
joe              Int: red-hat fedora centOS 
                 Ign: ubuntu suse
bob              Int: ubuntu
                 Ign: fedora

Tag subscription statistics commands

I would like to see a couple of commands that would help me gather information on tag usage.

Tag subscription Statistics
For every tags in the system, dump the number of users that have the tag marked as interesting and ingored.
This would allow an admin to know what tags are being followed (as opposed to how the questions are classified).

manage.py tag-sub-stats
Tag              Interesting  Ignore
===============  ===========  ======
centOS                2         0
fedora                22        5
...

User Tags Usage
For every user in the system, prints out the list of ignored and followed tags

manage.py tag-user-list
User              Tags
===============  ======
joe              Int: red-hat fedora centOS 
                 Ign: ubuntu suse
bob              Int: ubuntu
                 Ign: fedora