This is shameless self-promotion, but I just released a very simple template tag helper to do this, as I had the same need and didnβt want to use something heavier like Django-tagging.
This does not make the tag cloud tough, but it does the necessary calculations and stores the result in an attribute that can be easily referenced in HTML / CSS.
https://github.com/niconoe/django-nuages-tag
niconoe
source share