Commits

Zakhar Zibarov committed 60085c8

Fixed multidatabase support (django 1.2+)

Comments (0)

Files changed (1)

     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):
+    def save(self, force_insert=False, force_update=False, **kwargs):
         self.date_updated = datetime.datetime.now()
-        super(Fave, self).save(force_insert=force_insert, force_update=force_update)
+        super(Fave, self).save(force_insert=force_insert, force_update=force_update, **kwargs)