def delete_attachment(request, projectID): uuid=request.GET.get( 'file', '') mdl_attachment.delete(uuid) return redirect(request.META['HTTP_REFERER'])
def delete_attachment(request, projectID): uuid = request.GET.get('file', '') mdl_attachment.delete(uuid) return redirect(request.META['HTTP_REFERER'])