summaryrefslogtreecommitdiffstats
path: root/askbot/models
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-04-07 05:37:16 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-04-07 05:37:16 -0400
commit67c5a4bb63a08c3620e6667f4b0c3a3c61cc61ce (patch)
tree4fe5381c2b2a16f994a8bfa6092db70e77e7a52f /askbot/models
parentb03f881b11204b7e0fe323dd9148085ef0dfa35d (diff)
parent60bc578f579d8b5a40e4c040a0bbd6a60e30e950 (diff)
downloadaskbot-67c5a4bb63a08c3620e6667f4b0c3a3c61cc61ce.tar.gz
askbot-67c5a4bb63a08c3620e6667f4b0c3a3c61cc61ce.tar.bz2
askbot-67c5a4bb63a08c3620e6667f4b0c3a3c61cc61ce.zip
merged with the master branch
Diffstat (limited to 'askbot/models')
-rw-r--r--askbot/models/question.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/askbot/models/question.py b/askbot/models/question.py
index 455b0845..c772804a 100644
--- a/askbot/models/question.py
+++ b/askbot/models/question.py
@@ -1410,6 +1410,8 @@ class Thread(models.Model):
'search_state': DummySearchState(),
'visitor': visitor
}
+ from askbot.views.context import get_extra as get_extra_context
+ context.update(get_extra_context('ASKBOT_QUESTION_SUMMARY_EXTRA_CONTEXT', None, context))
html = get_template('widgets/question_summary.html').render(context)
# INFO: Timeout is set to 30 days:
# * timeout=0/None is not a reliable cross-backend way to set infinite timeout