From c08b11f5eedb3c989f86878d770a3fa24616af65 Mon Sep 17 00:00:00 2001 From: Sanj Date: Wed, 19 Oct 2011 16:39:18 +0100 Subject: [PATCH] small, starting text editor destruction --- edgware/editor/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/edgware/editor/views.py b/edgware/editor/views.py index df77e06..9277d4c 100644 --- a/edgware/editor/views.py +++ b/edgware/editor/views.py @@ -399,6 +399,7 @@ def category_json(request): if request.GET: catid = request.GET['id'] typ = request.GET.get('type', 'image') + user = request.user resources = File.objects.filter(categories__id=catid, type=typ).exclude(private=True) rList = [] for r in resources: