1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Rename allow_syncdb to allow_migrate

This commit is contained in:
Andrew Godwin
2013-07-30 12:08:59 +01:00
parent 68e0a169c4
commit 12e9804d16
17 changed files with 61 additions and 47 deletions

View File

@@ -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'