Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit fde0bfe929bdb3ac6046b270052da183a223d7d8 1 parent 50ad53d
Alex Gaynor alex authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 tests/regressiontests/extra_regress/models.py
4 tests/regressiontests/extra_regress/models.py
View
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.