summaryrefslogtreecommitdiffstats
path: root/askbot/views
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-03-11 13:44:46 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-03-11 13:44:46 -0400
commitf35224b630e096f1c6811548dcaaec2c9f368b06 (patch)
tree7e7a112ee38c889200a66d3651eb7ad3206e6838 /askbot/views
parentbb2a7cfe4046ec67f232e079820939ff01e9578b (diff)
downloadaskbot-f35224b630e096f1c6811548dcaaec2c9f368b06.tar.gz
askbot-f35224b630e096f1c6811548dcaaec2c9f368b06.tar.bz2
askbot-f35224b630e096f1c6811548dcaaec2c9f368b06.zip
allowed to created tags upon subscribing to them
Diffstat (limited to 'askbot/views')
-rw-r--r--askbot/views/commands.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/askbot/views/commands.py b/askbot/views/commands.py
index cd54075e..f810a750 100644
--- a/askbot/views/commands.py
+++ b/askbot/views/commands.py
@@ -1233,9 +1233,9 @@ def moderate_suggested_tag(request):
return
if thread_id:
- threads = models.Thread.objects.filter(id = thread_id)
+ threads = models.Thread.objects.filter(id=thread_id)
else:
- threads = tag.threads.all()
+ threads = tag.threads.none()
if form.cleaned_data['action'] == 'accept':
#todo: here we lose ability to come back