diff options
-rw-r--r-- | askbot/views/readers.py | 1 | ||||
-rw-r--r-- | askbot/views/widgets.py | 4 |
2 files changed, 1 insertions, 4 deletions
diff --git a/askbot/views/readers.py b/askbot/views/readers.py index 9801d5bc..3211a86b 100644 --- a/askbot/views/readers.py +++ b/askbot/views/readers.py @@ -319,7 +319,6 @@ def tags(request):#view showing a listing of available tags - plain list return render_into_skin('tags.html', data, request) @csrf.csrf_protect -#@cache_page(60 * 5) def question(request, id):#refactor - long subroutine. display question body, answers and comments """view that displays body of the question and all answers to it diff --git a/askbot/views/widgets.py b/askbot/views/widgets.py index 4401bbdc..9ad2d900 100644 --- a/askbot/views/widgets.py +++ b/askbot/views/widgets.py @@ -1,12 +1,10 @@ from datetime import datetime -from django.core import exceptions from django.template import Context from django.http import HttpResponse, Http404 from django.views.decorators import csrf from django.core.urlresolvers import reverse from django.shortcuts import redirect, get_object_or_404 -from django.views.decorators.cache import cache_page from django.contrib.auth.decorators import login_required @@ -96,7 +94,7 @@ def ask_widget(request, widget_id): } if request.user.is_authenticated(): data_dict['author'] = request.user - question = post_question(data_dict, request) + #question = post_question(data_dict, request) return redirect('ask_by_widget_complete') else: request.session['widget_question'] = data_dict |