summaryrefslogtreecommitdiffstats
path: root/askbot/views
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-04-07 04:40:04 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-04-07 04:40:04 -0400
commitb03f881b11204b7e0fe323dd9148085ef0dfa35d (patch)
tree45fc9053dc3b7aa2ba5888b3ab26bfb22fc2b09e /askbot/views
parent580dce30624e7af950159e3f74f9181506b57a5d (diff)
downloadaskbot-b03f881b11204b7e0fe323dd9148085ef0dfa35d.tar.gz
askbot-b03f881b11204b7e0fe323dd9148085ef0dfa35d.tar.bz2
askbot-b03f881b11204b7e0fe323dd9148085ef0dfa35d.zip
allowed to choose plain text or rich text editor for the comments
Diffstat (limited to 'askbot/views')
-rw-r--r--askbot/views/writers.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/askbot/views/writers.py b/askbot/views/writers.py
index deec46cc..e8d50cea 100644
--- a/askbot/views/writers.py
+++ b/askbot/views/writers.py
@@ -62,9 +62,6 @@ ANSWERS_PAGE_SIZE = 10
def upload(request):#ajax upload file to a question or answer
"""view that handles file upload via Ajax
"""
- import pdb
- pdb.set_trace()
-
# check upload permission
result = ''
error = ''
@@ -744,7 +741,6 @@ def post_comments(request):#generic ajax handler to load comments to an object
@decorators.ajax_only
#@decorators.check_spam('comment')
def edit_comment(request):
-
if request.user.is_anonymous():
raise exceptions.PermissionDenied(_('Sorry, anonymous users cannot edit comments'))