• 
      

    Fix positional arguments for commands on modern Django.

    Review Request #10546 — Created April 30, 2019 and submitted

    Information

    Django Evolution
    master
    b05c64c...

    Reviewers

    This updates the evolve, list-evolutions, and wipe-evolution
    commands to properly take positional arguments on modern versions of
    Django. Previously, these were limited to keyword arguments, due to a
    change in how argument parsing works now in Django. Positional arguments
    have to be explicitly added to the arg parser, with a name of args.

    The base compatibility class has also been updated to not break when
    positional arguments are used on versions of Django using optparse.

    Ran these commands on Django 1.6 and 1.11 with positional arguments.

    david
    1. Ship It!
    2. 
        
    chipx86
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to master (ce9e490)