Changes between Initial Version and Version 1 of Ticket #24518


Ignore:
Timestamp:
Mar 20, 2015, 9:32:29 PM (10 years ago)
Author:
Thierry Jossermoz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24518

    • Property Status newassigned
  • Ticket #24518 – Description

    initial v1  
    11With Python3, when not using argparse for a management command, the verbosity option uses a type=choice, which leads to a `TypeError: unorderable types: str() > int()` in `django/core/management/commands/test.py` at line 65 (`if options['verbosity'] > 0`)
    22
    3 The problem comes from this line:
     3The problem comes from this line in `django/core/management/base.py`:
    44{{{
    55parser.add_option('-v', '--verbosity', action='store', dest='verbosity', default='1',
Back to Top