Ticket #11842: my.patch

File my.patch, 524 bytes (added by bitprophet, 6 years ago)
  • django/core/management/__init__.py

     
    284284        try:
    285285            subcommand = self.argv[1]
    286286        except IndexError:
    287             sys.stderr.write("Type '%s help' for usage.\n" % self.prog_name)
    288             sys.exit(1)
     287            subcommand = 'help'
    289288
    290289        if subcommand == 'help':
    291290            if len(args) > 2:
Back to Top