acangiani / django-tagging

Automatically exported from code.google.com/p/django-tagging
Other
1 stars 0 forks source link

Tag itself cannot calculate cloud #105

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I would like to do something like this:

{% for tag in all_tags %}
  <span style="font-size: {{ tag.font_size }}">
    <a href="...">{{ tag }}</a>
  </span>
{% endfor %}

all_tags is Tag.objects.all()

as far as i understand it font_size is only set if tag_cloud_for_model is
used, but in this case i don't care about the related models...

Original issue reported on code.google.com by bela.hau...@gmail.com on 16 Mar 2008 at 11:17