summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-06-21 23:55:01 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-06-21 23:55:01 -0400
commite85adf774cdd0f583950e26204712d8158ed7ffa (patch)
tree95e1afe1e0c5c96b5f85cab6b294a3c5e26036ea
parent7eb5758c72029b6ea7706cdfd247b8c58e5835d5 (diff)
downloadaskbot-e85adf774cdd0f583950e26204712d8158ed7ffa.tar.gz
askbot-e85adf774cdd0f583950e26204712d8158ed7ffa.tar.bz2
askbot-e85adf774cdd0f583950e26204712d8158ed7ffa.zip
returned caching to questions template
-rw-r--r--askbot/skins/default/templates/questions.html7
1 files changed, 3 insertions, 4 deletions
diff --git a/askbot/skins/default/templates/questions.html b/askbot/skins/default/templates/questions.html
index 6e2ffcb1..6803cb60 100644
--- a/askbot/skins/default/templates/questions.html
+++ b/askbot/skins/default/templates/questions.html
@@ -172,11 +172,9 @@
</div>
{% endif %}
<div id="listA">
- {% include "question_list.html" %}
- {% comment %}
{% cache 600 questions search_tags scope sort query context.page context.page_size %}
+ {% include "question_list.html" %}
{% endcache %}
- {% endcomment %}
{% comment %}todo: fix css here{% endcomment %}
{% if questions_count == 0 %}
{% comment %}todo: add tips to widen selection{% endcomment%}
@@ -247,7 +245,7 @@
{% endif %}
{% if tags %}
- {% comment%} {% cache 600 tags search_tags scope sort query context.page context.page_size %} {% endcomment %}
+ {% cache 600 tags search_tags scope sort query context.page context.page_size %}
<div class="boxC">
<h3 class="subtitle">{% trans "Related tags" %}</h3>
<div class="tags">
@@ -261,6 +259,7 @@
{% endfor %}
</div>
</div>
+ {% endcache %}
{% endif %}
{% endblock %}
<!-- end questions.html -->