X-Git-Url: http://gitweb.fperrin.net/?a=blobdiff_plain;f=quotes%2Ftagcloud.py;h=8a958f2a0ec735cb9e8127150a8927877e594b72;hb=5a0c0284b85a13255f86513565d145ebecfa9637;hp=0e80984de098c9c75841300fe17ff85ba0a438b2;hpb=5be623b47010e85eddcfa152f606822231c13456;p=djsite.git diff --git a/quotes/tagcloud.py b/quotes/tagcloud.py index 0e80984..8a958f2 100644 --- a/quotes/tagcloud.py +++ b/quotes/tagcloud.py @@ -14,4 +14,4 @@ def build_cloud(): for tag in tags: tag.size = int(10 * float(tag.num_quotes) / maxtag) - return tags + return {'cloud': tags}