summaryrefslogtreecommitdiff
path: root/gstudio/views
diff options
context:
space:
mode:
authorsupriya <supriya@dragbox.(none)>2012-08-13 17:21:33 +0530
committersupriya <supriya@dragbox.(none)>2012-08-13 17:21:33 +0530
commitc46d21012bdb0cad3c4e2313586b0a5ea740bcbe (patch)
treec65c22c4cd91649b08eca53ce6795c596fc492c8 /gstudio/views
parenteffc9ec794486e4551890f62e710b88843abfc00 (diff)
downloadgnowsys-c46d21012bdb0cad3c4e2313586b0a5ea740bcbe.tar.gz
tags added to wikipage
Diffstat (limited to 'gstudio/views')
-rw-r--r--gstudio/views/page.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/gstudio/views/page.py b/gstudio/views/page.py
index d673f770..e59caec7 100644
--- a/gstudio/views/page.py
+++ b/gstudio/views/page.py
@@ -39,12 +39,20 @@ def pagedashboard(request,pageid):
# # block = request.POST.get("block","")
section_del = request.POST.get("del_section", "")
comment_del = request.POST.get("del_comment", "")
+ docid = request.POST.get("docid","")
+ addtags = request.POST.get("addtags","")
+ texttags = request.POST.get("texttags","")
if section_del:
del_section(int(id_no))
if comment_del:
del_comment(int(id_no1))
if rating :
rate_section(int(id_no),request,int(rating))
+ if addtags != "":
+ i=Gbobject.objects.get(id=docid)
+ i.tags = i.tags+ ","+str(texttags)
+ i.save()
+
if rep :
if not id_no :
ptitle= make_title(int(id_no))