remove debug statement
This commit is contained in:
parent
a911a62e12
commit
7e0f7cf5fb
1 changed files with 0 additions and 2 deletions
|
@ -458,8 +458,6 @@ def removeMedia(request):
|
||||||
qs = models.File.objects.filter(oshash__in=data['ids'], instances__id=None)
|
qs = models.File.objects.filter(oshash__in=data['ids'], instances__id=None)
|
||||||
selected = set([f.item.id for f in qs if f.selected])
|
selected = set([f.item.id for f in qs if f.selected])
|
||||||
items = list(set([f.item.id for f in qs]))
|
items = list(set([f.item.id for f in qs]))
|
||||||
print selected
|
|
||||||
print items
|
|
||||||
qs.delete()
|
qs.delete()
|
||||||
for i in Item.objects.filter(id__in=items):
|
for i in Item.objects.filter(id__in=items):
|
||||||
if i.id in selected:
|
if i.id in selected:
|
||||||
|
|
Loading…
Reference in a new issue