})
+@login_required
def chunk_edit(request, slug, chunk):
try:
doc = Chunk.get(slug, chunk)
@transaction.commit_on_success
+@login_required
def chunk_mass_edit(request):
if request.method == 'POST':
ids = map(int, filter(lambda i: i.strip()!='', request.POST.get('ids').split(',')))