Does anyone know how to set this behavior in Django / python? I need to send an Ajax request and save it if the user closes the page
I think you want to use something like this: http://celeryproject.org/ Or just run the script in a separate thread, for example: subprocess.Popen ([sys.executable, '/ path / to / script.py'] )
Source: https://habr.com/ru/post/1790532/More articles:MonoTouch BackgroundWorker calls a text view that does not work - c #What is the purpose of HashMap.Entry.recordAccess and recordRemoval? - javaMultiple MS charts on the same page use the same image map - htmlCan I dynamically set a new object name - oopSQL Server 2008: why this round will not be equal to two decimal places? - sqlПроблема создания массива С++, специфичная для gcc 4.5 - c++https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1790534/how-do-i-use-pivot-tables-to-create-one-line-per-sub-category&usg=ALkJrhjc3DricjtRd3C8rjyBHcbNFP7j1Ahttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1790535/alias-within-htaccess-and-block-access-to-original-file-url-rewriting&usg=ALkJrhhg-3X7QFs1-mCM3vQp5GqXyQWVNwCalculate the sum of specific rows (based on uniqId) in a column without using for-loop in MATLAB - matlabRails3 - oauth-plugin problem - ruby | fooobar.comAll Articles