]> git.parisson.com Git - teleforma.git/commitdiff
fix kwargs
authoryomguy <yomguy@parisson.com>
Wed, 20 Feb 2013 12:29:25 +0000 (13:29 +0100)
committeryomguy <yomguy@parisson.com>
Wed, 20 Feb 2013 12:29:25 +0000 (13:29 +0100)
teleforma/models/pro.py

index 14d0dd906a5c20d2f433a54249bb89fea7efd13c..78df06dd6edb586d264f4bc246df7c517d35f640 100755 (executable)
@@ -216,8 +216,8 @@ class Testimonial(models.Model):
     date_added  = models.DateTimeField(_('date added'), auto_now_add=True, null=True)
     title       = models.CharField(_('title'), max_length=255, blank=True)
 
-    def save(self):
-        super(Testimonial, self).save()
+    def save(self, **kwargs):
+        super(Testimonial, self).save(**kwargs)
         if self.seminar:
             self.title = ' - '.join([self.seminar.title,
                                     self.user.first_name + ' ' + self.user.last_name,