flake8
passed.
JSHint
passed.
Review Request #10546 — Created April 30, 2019 and submitted
This updates the
evolve,list-evolutions, andwipe-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 ofargs.The base compatibility class has also been updated to not break when
positional arguments are used on versions of Django usingoptparse.
Ran these commands on Django 1.6 and 1.11 with positional arguments.