def save_to_cliboard(request): object = LogsClipboard(name = request.POST['name'], notes = request.POST['notes'], logs = request.POST['logs'], log_file = LogFile.objects\ .get(id=int(request.POST['file']))) object.save() return HttpResponse(_('loglines_saved'), mimetype = 'text/html')
def save_to_cliboard(request): object = LogsClipboard(name = request.POST['name'], notes = request.POST['notes'], logs = request.POST['logs'], log_file = LogFile.objects\ .get(id=int(request.POST['file']))) object.save() return HttpResponse(_('loglines_saved'), mimetype='text/html')
def save_to_cliboard(request): object = LogsClipboard( name=request.POST["name"], notes=request.POST["notes"], logs=request.POST["logs"], log_file=LogFile.objects.get(id=int(request.POST["file"])), ) object.save() return HttpResponse(_("loglines_saved"), mimetype="text/html")