From c233618d4bd4c0ad7412c5a7ca760624b933d89b Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Wed, 3 Jun 2009 20:54:54 +0000 Subject: [PATCH] [soc2009/multidb] Correct the type signature on CommentFlag.save git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/multidb@10918 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/comments/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/django/contrib/comments/models.py b/django/contrib/comments/models.py index f8891846fe..5e128d2edb 100644 --- a/django/contrib/comments/models.py +++ b/django/contrib/comments/models.py @@ -185,7 +185,7 @@ class CommentFlag(models.Model): return "%s flag of comment ID %s by %s" % \ (self.flag, self.comment_id, self.user.username) - def save(self, force_insert=False, force_update=False): + def save(self, *args, **kwargs): if self.flag_date is None: self.flag_date = datetime.datetime.now() - super(CommentFlag, self).save(force_insert, force_update) + super(CommentFlag, self).save(*args, **kwargs)