Commits

Anonymous committed 6100d42

Updating the tag could scale

  • Participants
  • Parent commits 3ad1d60

Comments (0)

Files changed (1)

File articles/templatetags/article_tags.py

     cache_key = 'tag_cloud_tags'
     tags = cache.get(cache_key)
     if tags is None:
-        MAX_WEIGHT = 5
+        MAX_WEIGHT = 7
         tags = Tag.objects.all()
 
         if len(tags) == 0: