diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2013-04-02 02:11:14 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2013-04-02 02:11:14 -0400 |
commit | 6812490dd5c0d040cc4478f7f09a77b128fb621c (patch) | |
tree | 2978a7d2123df4df6eaac63bba907645b07077b7 /askbot/views | |
parent | ae1f49685f978051fcbeb4f2599d6a27f1b3a9ac (diff) | |
download | askbot-6812490dd5c0d040cc4478f7f09a77b128fb621c.tar.gz askbot-6812490dd5c0d040cc4478f7f09a77b128fb621c.tar.bz2 askbot-6812490dd5c0d040cc4478f7f09a77b128fb621c.zip |
added extra context to the questions page and to the question summary snippet
Diffstat (limited to 'askbot/views')
-rw-r--r-- | askbot/views/readers.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/askbot/views/readers.py b/askbot/views/readers.py index fc74c739..962e1dbb 100644 --- a/askbot/views/readers.py +++ b/askbot/views/readers.py @@ -238,6 +238,13 @@ def questions(request, **kwargs): 'feed_url': context_feed_url, } + extra_context = context.get_extra( + 'ASKBOT_QUESTIONS_PAGE_EXTRA_CONTEXT', + request, + template_data + ) + template_data.update(extra_context) + return render(request, 'main_page.html', template_data) |