Commit c2ef172b authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

delete obsolete images

parent 210d6996
Pipeline #8408 failed with stage
in 2 minutes and 58 seconds
......@@ -53,6 +53,9 @@ class Command(BaseCommand):
log(f'\nDelete perso\n')
log(f'\nclean obsolete Images\n')
log(f'\nLook for missing images\n')
for img in Image.objects.filter( - timedelta(days=7)):
log(f' {img}')
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment