DjangoGirls / tutorial-extensions

Additional tasks for tutorial
https://tutorial-extensions.djangogirls.org
Other
163 stars 203 forks source link

Fix command instruction in Postgres setup #47

Closed chellbell closed 8 years ago

chellbell commented 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.

aniav commented 8 years ago

Thank you! 😉