mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Rename allow_syncdb to allow_migrate
This commit is contained in:
2
tests/cache/tests.py
vendored
2
tests/cache/tests.py
vendored
@@ -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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user