def process_dataqueue(request): context = RequestContext(request) context.processed = process_data_queue() return render_to_response("process-queue.html", context_instance=context)
def process_dqueue(): process_data_queue()