Permalink
Browse files

[soc2009/multidb] Fix the extra_regress tests to be more forward comp…

…atible.

git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/multidb@11422 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 50ad53d commit fde0bfe929bdb3ac6046b270052da183a223d7d8 @alex alex committed Aug 9, 2009
Showing with 3 additions and 1 deletion.
  1. +3 −1 tests/regressiontests/extra_regress/models.py
@@ -19,7 +19,9 @@ def save(self, *args, **kwargs):
super(RevisionableModel, self).save(*args, **kwargs)
if not self.base:
self.base = self
- super(RevisionableModel, self).save(using=kwargs.pop('using', None))
+ kwargs.pop('force_insert', None)
+ kwargs.pop('force_update', None)
+ super(RevisionableModel, self).save(*args, **kwargs)
def new_revision(self):
new_revision = copy.copy(self)

0 comments on commit fde0bfe

Please sign in to comment.