Loading django/contrib/auth/management/commands/createsuperuser.py +2 −1 Original line number Diff line number Diff line Loading @@ -33,7 +33,8 @@ class Command(BaseCommand): parser.add_argument('--%s' % self.UserModel.USERNAME_FIELD, dest=self.UserModel.USERNAME_FIELD, default=None, help='Specifies the login for the superuser.') parser.add_argument('--noinput', action='store_false', dest='interactive', default=True, parser.add_argument('--noinput', '--no-input', action='store_false', dest='interactive', default=True, help=('Tells Django to NOT prompt the user for input of any kind. ' 'You must use --%s with --noinput, along with an option for ' 'any other required field. Superusers created with --noinput will ' Loading django/contrib/staticfiles/management/commands/collectstatic.py +1 −1 Original line number Diff line number Diff line Loading @@ -36,7 +36,7 @@ class Command(BaseCommand): self.local = True def add_arguments(self, parser): parser.add_argument('--noinput', parser.add_argument('--noinput', '--no-input', action='store_false', dest='interactive', default=True, help="Do NOT prompt the user for input of any kind.") parser.add_argument('--no-post-process', Loading django/core/management/commands/flush.py +2 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,8 @@ class Command(BaseCommand): 'migrations. Does not achieve a "fresh install" state.') def add_arguments(self, parser): parser.add_argument('--noinput', action='store_false', dest='interactive', default=True, parser.add_argument('--noinput', '--no-input', action='store_false', dest='interactive', default=True, help='Tells Django to NOT prompt the user for input of any kind.') parser.add_argument('--database', action='store', dest='database', default=DEFAULT_DB_ALIAS, Loading django/core/management/commands/makemigrations.py +2 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,8 @@ class Command(BaseCommand): help="Enable fixing of migration conflicts.") parser.add_argument('--empty', action='store_true', dest='empty', default=False, help="Create an empty migration.") parser.add_argument('--noinput', action='store_false', dest='interactive', default=True, parser.add_argument('--noinput', '--no-input', action='store_false', dest='interactive', default=True, help='Tells Django to NOT prompt the user for input of any kind.') parser.add_argument('-n', '--name', action='store', dest='name', default=None, help="Use this name for migration file(s).") Loading django/core/management/commands/migrate.py +2 −1 Original line number Diff line number Diff line Loading @@ -33,7 +33,8 @@ class Command(BaseCommand): 'migration. Use the name "zero" to unapply all migrations.' ), ) parser.add_argument('--noinput', action='store_false', dest='interactive', default=True, parser.add_argument('--noinput', '--no-input', action='store_false', dest='interactive', default=True, help='Tells Django to NOT prompt the user for input of any kind.') parser.add_argument('--database', action='store', dest='database', default=DEFAULT_DB_ALIAS, help='Nominates a database to synchronize. ' Loading Loading
django/contrib/auth/management/commands/createsuperuser.py +2 −1 Original line number Diff line number Diff line Loading @@ -33,7 +33,8 @@ class Command(BaseCommand): parser.add_argument('--%s' % self.UserModel.USERNAME_FIELD, dest=self.UserModel.USERNAME_FIELD, default=None, help='Specifies the login for the superuser.') parser.add_argument('--noinput', action='store_false', dest='interactive', default=True, parser.add_argument('--noinput', '--no-input', action='store_false', dest='interactive', default=True, help=('Tells Django to NOT prompt the user for input of any kind. ' 'You must use --%s with --noinput, along with an option for ' 'any other required field. Superusers created with --noinput will ' Loading
django/contrib/staticfiles/management/commands/collectstatic.py +1 −1 Original line number Diff line number Diff line Loading @@ -36,7 +36,7 @@ class Command(BaseCommand): self.local = True def add_arguments(self, parser): parser.add_argument('--noinput', parser.add_argument('--noinput', '--no-input', action='store_false', dest='interactive', default=True, help="Do NOT prompt the user for input of any kind.") parser.add_argument('--no-post-process', Loading
django/core/management/commands/flush.py +2 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,8 @@ class Command(BaseCommand): 'migrations. Does not achieve a "fresh install" state.') def add_arguments(self, parser): parser.add_argument('--noinput', action='store_false', dest='interactive', default=True, parser.add_argument('--noinput', '--no-input', action='store_false', dest='interactive', default=True, help='Tells Django to NOT prompt the user for input of any kind.') parser.add_argument('--database', action='store', dest='database', default=DEFAULT_DB_ALIAS, Loading
django/core/management/commands/makemigrations.py +2 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,8 @@ class Command(BaseCommand): help="Enable fixing of migration conflicts.") parser.add_argument('--empty', action='store_true', dest='empty', default=False, help="Create an empty migration.") parser.add_argument('--noinput', action='store_false', dest='interactive', default=True, parser.add_argument('--noinput', '--no-input', action='store_false', dest='interactive', default=True, help='Tells Django to NOT prompt the user for input of any kind.') parser.add_argument('-n', '--name', action='store', dest='name', default=None, help="Use this name for migration file(s).") Loading
django/core/management/commands/migrate.py +2 −1 Original line number Diff line number Diff line Loading @@ -33,7 +33,8 @@ class Command(BaseCommand): 'migration. Use the name "zero" to unapply all migrations.' ), ) parser.add_argument('--noinput', action='store_false', dest='interactive', default=True, parser.add_argument('--noinput', '--no-input', action='store_false', dest='interactive', default=True, help='Tells Django to NOT prompt the user for input of any kind.') parser.add_argument('--database', action='store', dest='database', default=DEFAULT_DB_ALIAS, help='Nominates a database to synchronize. ' Loading