Commits

Anonymous committed 280dc00

selective cached

  • Participants
  • Parent commits d46fea6

Comments (0)

Files changed (1)

newsmeme/__init__.py

     @app.context_processor
     def get_tags():
         tags = Tag.query.order_by(Tag.num_posts.desc()).limit(10)
-        tags = dict(tags=tags)
-
+        return dict(tags=tags)
 
     @app.context_processor
     def config():