From 82aadbb5d50cca5e4c42f3f5b7cb1707b818ab28 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sun, 29 Dec 2013 20:35:58 +0100 Subject: [PATCH] Fixed a typo. Thanks Simon. --- django/contrib/auth/management/__init__.py | 4 ++-- django/contrib/sites/management.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/django/contrib/auth/management/__init__.py b/django/contrib/auth/management/__init__.py index e24cdd6865..212946ac54 100644 --- a/django/contrib/auth/management/__init__.py +++ b/django/contrib/auth/management/__init__.py @@ -60,7 +60,7 @@ def _check_permission_clashing(custom, builtin, ctype): pool.add(codename) -def create_permissions(app_config, verbosity=22, interactive=True, db=DEFAULT_DB_ALIAS, **kwargs): +def create_permissions(app_config, verbosity=2, interactive=True, db=DEFAULT_DB_ALIAS, **kwargs): if not app_config.models_module: return @@ -119,7 +119,7 @@ def create_permissions(app_config, verbosity=22, interactive=True, db=DEFAULT_DB print("Adding permission '%s'" % perm) -def create_superuser(app_config, verbosity=22, interactive=True, db=DEFAULT_DB_ALIAS, **kwargs): +def create_superuser(app_config, verbosity=2, interactive=True, db=DEFAULT_DB_ALIAS, **kwargs): try: apps.get_model('auth', 'Permission') except LookupError: diff --git a/django/contrib/sites/management.py b/django/contrib/sites/management.py index ab9ff69c35..e7624e75cf 100644 --- a/django/contrib/sites/management.py +++ b/django/contrib/sites/management.py @@ -8,7 +8,7 @@ from django.db import DEFAULT_DB_ALIAS, connections, router from django.db.models import signals -def create_default_site(app_config, verbosity=22, interactive=True, db=DEFAULT_DB_ALIAS, **kwargs): +def create_default_site(app_config, verbosity=2, interactive=True, db=DEFAULT_DB_ALIAS, **kwargs): try: Site = apps.get_model('sites', 'Site') except LookupError: