summaryrefslogtreecommitdiff
path: root/tests/cache
diff options
context:
space:
mode:
authorAndrew Godwin <andrew@aeracode.org>2013-07-30 12:08:59 +0100
committerAndrew Godwin <andrew@aeracode.org>2013-07-30 12:08:59 +0100
commit12e9804d163777af17cc2a3dfdfff49e5f750ebd (patch)
treede245c81bba1b8cb8e4cc28b8abd60f8ade5b61e /tests/cache
parent68e0a169c4f9fa7f8071e014b274fd59e970f9a3 (diff)
Rename allow_syncdb to allow_migrate
Diffstat (limited to 'tests/cache')
-rw-r--r--tests/cache/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cache/tests.py b/tests/cache/tests.py
index bccac6b5a8..5cf199794c 100644
--- a/tests/cache/tests.py
+++ b/tests/cache/tests.py
@@ -895,7 +895,7 @@ class DBCacheRouter(object):
if model._meta.app_label == 'django_cache':
return 'other'
- def allow_syncdb(self, db, model):
+ def allow_migrate(self, db, model):
if model._meta.app_label == 'django_cache':
return db == 'other'