Запуск сценария после загрузки файлов пользователямиPython

Программы на Python
Гость
Запуск сценария после загрузки файлов пользователями

Сообщение Гость »


I have a django project and I would like to trigger a script for every 30 items that get uploaded by users. Basically, after 30 items have been uploaded by users, the script checks the latest (i.e. last) item which has been uploaded by a user, and if there is a problem with the item it then gives a warning to the user. After 30 more items get uploaded by users the process repeats.

The problem is I'm not sure how to do this since I'm new to django and I can't find any documentation for it, so if anyone has any ideas I would greatly appreciate it. Thank you!


Источник: https://stackoverflow.com/questions/780 ... d-by-users

Вернуться в «Python»