Closed chellbell closed 8 years ago
When running the command on OSX as written, I get the error message:
usage: manage.py createsuperuser [-h] [--version] [-v {0,1,2,3}] [--settings SETTINGS] [--pythonpath PYTHONPATH] [--traceback] [--no-color] [--username USERNAME] [--noinput] [--database DATABASE] [--email EMAIL] manage.py createsuperuser: error: unrecognized arguments:
Explicitly providing the --username flag fixes the error. Judging from the documentation, it would also work as manage.py createsuperuser, which would prompt for all arguments.
--username
manage.py createsuperuser
Thank you! 😉
When running the command on OSX as written, I get the error message:
usage: manage.py createsuperuser [-h] [--version] [-v {0,1,2,3}] [--settings SETTINGS] [--pythonpath PYTHONPATH] [--traceback] [--no-color] [--username USERNAME] [--noinput] [--database DATABASE] [--email EMAIL] manage.py createsuperuser: error: unrecognized arguments:
Explicitly providing the
--username
flag fixes the error. Judging from the documentation, it would also work asmanage.py createsuperuser
, which would prompt for all arguments.