diff options
| author | Andrew Godwin <andrew@aeracode.org> | 2013-07-30 12:08:59 +0100 |
|---|---|---|
| committer | Andrew Godwin <andrew@aeracode.org> | 2013-07-30 12:08:59 +0100 |
| commit | 12e9804d163777af17cc2a3dfdfff49e5f750ebd (patch) | |
| tree | de245c81bba1b8cb8e4cc28b8abd60f8ade5b61e /django/contrib/auth | |
| parent | 68e0a169c4f9fa7f8071e014b274fd59e970f9a3 (diff) | |
Rename allow_syncdb to allow_migrate
Diffstat (limited to 'django/contrib/auth')
| -rw-r--r-- | django/contrib/auth/management/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/auth/management/__init__.py b/django/contrib/auth/management/__init__.py index e1b9be2e9b..343828ec17 100644 --- a/django/contrib/auth/management/__init__.py +++ b/django/contrib/auth/management/__init__.py @@ -64,7 +64,7 @@ def create_permissions(app, created_models, verbosity, db=DEFAULT_DB_ALIAS, **kw except UnavailableApp: return - if not router.allow_syncdb(db, auth_app.Permission): + if not router.allow_migrate(db, auth_app.Permission): return from django.contrib.contenttypes.models import ContentType |
