Each submission has two dates, date_created and date_modified. After some testing, it appeared that date_modified is the (almost) same (within a few milliseconds) than date_created when the submission is not edited.
Assuming that its almost impossible to edit a submission within 10 seconds of the creation, the management command now skips submissions where its modification date is more or less 10 seconds of the creation.
Description
Only process edited submissions
Notes
Each submission has two dates,
date_created
anddate_modified
. After some testing, it appeared thatdate_modified
is the (almost) same (within a few milliseconds) thandate_created
when the submission is not edited. Assuming that its almost impossible to edit a submission within 10 seconds of the creation, the management command now skips submissions where its modification date is more or less 10 seconds of the creation.