Open oppianmatt opened 8 years ago
With django moving to argparse the management command now fails:
usage: manage.py tx [-h] [--version] [-v {0,1,2,3}] [--settings SETTINGS] [--pythonpath PYTHONPATH] [--traceback] [--no-color] manage.py tx: error: unrecognized arguments: pull_translations
basically this SO answer http://stackoverflow.com/questions/30230490/django-custom-command-error-unrecognized-arguments
A work around until the package is updated in pypi is to copy the tx.py file and put this in:
def add_arguments(self, parser): parser.add_argument('args', nargs="+")
With django moving to argparse the management command now fails:
basically this SO answer http://stackoverflow.com/questions/30230490/django-custom-command-error-unrecognized-arguments
A work around until the package is updated in pypi is to copy the tx.py file and put this in: