mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Supporting API changes in Django 1.10
* Since Django 1.10 there is no optparse (and no .args field) and no "usage()" method. All django manage py test failed.
This commit is contained in:
@@ -62,6 +62,7 @@ def report_data(dumper, commands_to_skip):
|
||||
command_name))
|
||||
sys.exit(1)
|
||||
|
||||
use_argparse = False
|
||||
# There is no optparse in 1.10
|
||||
if _is_django_10():
|
||||
use_argparse = True
|
||||
|
||||
Reference in New Issue
Block a user