From 28a33e28b529798e2ea0e84ce2e504ec7b082914 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Tue, 10 Dec 2013 16:15:09 +0100 Subject: [PATCH] apply cleanup --- teleforma/management/commands/teleforma-cleanup-testimonials.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5