diff options
-rw-r--r-- | askbot/__init__.py | 2 | ||||
-rw-r--r-- | askbot/middleware/pagesize.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/askbot/__init__.py b/askbot/__init__.py index 026a8a85..16117d92 100644 --- a/askbot/__init__.py +++ b/askbot/__init__.py @@ -22,7 +22,7 @@ def get_version(): """returns version of the askbot app this version is meaningful for pypi only """ - return '0.6.15' + return '0.6.17' #todo: maybe send_mail functions belong to models #or the future API diff --git a/askbot/middleware/pagesize.py b/askbot/middleware/pagesize.py index d4c0a9a3..d4bec017 100644 --- a/askbot/middleware/pagesize.py +++ b/askbot/middleware/pagesize.py @@ -4,7 +4,6 @@ import sys from django.http import HttpResponse, Http404 from django.template import RequestContext from django.conf import settings -from askbot.skins.loaders import ENV # used in questions QUESTIONS_PAGE_SIZE = 10 @@ -50,5 +49,6 @@ class QuestionsPageSizeMiddleware(object): else: #todo - we have a strange requirement - maybe remove #500.html needs RequestContext, while handler500 only receives Context + from askbot.skins.loaders import ENV template = ENV.get_template('500.jinja.html') return HttpResponse(template.render(RequestContext(request))) |