Commits

Alessandro Pagnin committed 272aa1d

- Fix for django 1.2 (missing *args on save)

  • Participants
  • Parent commits 0967c58

Comments (0)

Files changed (1)

File faves/models.py

     def __unicode__(self):
         return "[%s] %s, %s" % (self.type.name, self.user.username, self.content_object)
     
-    def save(self, force_insert=False, force_update=False, **kwargs):
+    def save(self, force_insert=False, force_update=False, *args, **kwargs):
         self.date_updated = datetime.datetime.now()
-        super(Fave, self).save(force_insert=force_insert, force_update=force_update, **kwargs)
+        super(Fave, self).save(force_insert=force_insert, force_update=force_update, *args, **kwargs)
+