From: Guillaume Pellerin Date: Tue, 10 Dec 2013 15:15:09 +0000 (+0100) Subject: apply cleanup X-Git-Tag: 2.8.1-pro~461 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=28a33e28b529798e2ea0e84ce2e504ec7b082914;p=teleforma.git apply cleanup --- diff --git a/teleforma/management/commands/teleforma-cleanup-testimonials.py b/teleforma/management/commands/teleforma-cleanup-testimonials.py index b21b2d63..a288ee8c 100644 --- a/teleforma/management/commands/teleforma-cleanup-testimonials.py +++ b/teleforma/management/commands/teleforma-cleanup-testimonials.py @@ -37,7 +37,7 @@ class Command(BaseCommand): for testimonial1 in testimonials: for testimonial2 in testimonials: if testimonial2.date_added < testimonial1.date_added: - #testimonial2.delete() + testimonial2.delete() print ('kept', testimonial1.title, testimonial1.date_added) print ('deleted', testimonial2.title, testimonial2.date_added)