small, starting text editor destruction
This commit is contained in:
parent
ccf6686b60
commit
c08b11f5ee
|
@ -399,6 +399,7 @@ def category_json(request):
|
||||||
if request.GET:
|
if request.GET:
|
||||||
catid = request.GET['id']
|
catid = request.GET['id']
|
||||||
typ = request.GET.get('type', 'image')
|
typ = request.GET.get('type', 'image')
|
||||||
|
user = request.user
|
||||||
resources = File.objects.filter(categories__id=catid, type=typ).exclude(private=True)
|
resources = File.objects.filter(categories__id=catid, type=typ).exclude(private=True)
|
||||||
rList = []
|
rList = []
|
||||||
for r in resources:
|
for r in resources:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user