Skip to content

Commit

Permalink
Argument added
Browse files Browse the repository at this point in the history
  • Loading branch information
ineshbose committed Nov 9, 2021
1 parent fabb0a5 commit 1d5b8a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/manage.py
Expand Up @@ -15,7 +15,7 @@ def main():
"available on your PYTHONPATH environment variable? Did you "
"forget to activate a virtual environment?"
) from exc
execute_from_command_line(sys.argv)
execute_from_command_line(sys.argv + (['runserver'] if len(sys.argv[1:]) == 0 else []))


if __name__ == '__main__':
Expand Down

0 comments on commit 1d5b8a6

Please sign in to comment.