Commit 7ba61fb5 authored by Kedar Aitawdekar's avatar Kedar Aitawdekar 💻

Updated trash group query

parent 18660b4e
......@@ -9,7 +9,7 @@ from gnowsys_ndf.ndf.views.methods import *
from django.core.urlresolvers import reverse
from gnowsys_ndf.settings import GSTUDIO_SITE_NAME
trash_group = node_collection.find_one({"name":"Trash"});
trash_group = node_collection.one({'_type': 'Group', "name": u"Trash"});
@get_execution_time
def trash_resource(request,group_id,node_id):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment