I have been using hawkrest and found the management command tool handy, although it's broken for later versions of Django and Py3+. Mind if I open a PR to address the issues below?
Django 1.8+ management command API uses argparse instead of optparse, so using the tool results in an AttributeError (BaseCommand has no attribute 'option_list') being raised (at least for 1.11).
ImportError raised due to attempting to import nonexistent function lookup_credentials.
SyntaxError raised due to print not being used as a function as required in py3.
Finally, I've added several unit tests for the management command itself.
Some of these have been brought up in other issues, but I have a PR ready to address them if it's ok to contribute.
I have been using hawkrest and found the management command tool handy, although it's broken for later versions of Django and Py3+. Mind if I open a PR to address the issues below?
argparse
instead ofoptparse
, so using the tool results in anAttributeError
(BaseCommand has no attribute 'option_list') being raised (at least for 1.11).ImportError
raised due to attempting to import nonexistent functionlookup_credentials
.SyntaxError
raised due toprint
not being used as a function as required in py3.Some of these have been brought up in other issues, but I have a PR ready to address them if it's ok to contribute.