[extensions-web] review: Actually auto-reject extensions



commit 5917376bf0336acba552c2822eda104520604800
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Fri Jun 22 14:08:34 2012 -0400

    review: Actually auto-reject extensions

 sweettooth/review/views.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/sweettooth/review/views.py b/sweettooth/review/views.py
index e7b54b2..f4ed257 100644
--- a/sweettooth/review/views.py
+++ b/sweettooth/review/views.py
@@ -437,6 +437,7 @@ def extension_submitted(sender, request, version, **kwargs):
                                   comments="",
                                   changelog=log)
         old_version.status = models.STATUS_REJECTED
+        old_version.save()
         version.save()
 
     send_email_submitted(request, version)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]