Merge pull request 'master' (#259) from master into Docker
Reviewed-on: SGD-Nord/konova#259
This commit is contained in:
commit
b39432be1a
@ -39,6 +39,9 @@ class Command(BaseKonovaCommand):
|
|||||||
for obj in all_objs:
|
for obj in all_objs:
|
||||||
obj.resubmit()
|
obj.resubmit()
|
||||||
self._write_success("Mails have been sent.")
|
self._write_success("Mails have been sent.")
|
||||||
|
resubmissions = Resubmission.objects.filter(
|
||||||
|
resubmission_sent=True,
|
||||||
|
)
|
||||||
resubmissions.delete()
|
resubmissions.delete()
|
||||||
self._write_success("Resubmissions have been deleted.")
|
self._write_success("Resubmissions have been deleted.")
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
|
Loading…
Reference in New Issue
Block a user