[Fixed]-Errors when trying to create new project or create new app in existing project

1👍

The command to start a new app is startapp, not startproject. startproject is, well, for starting a completely new project, with a new manage.py etc; obviously if you already have a project, you don’t want to overwrite those files.

And to run the server – or do anything once the project has been created – you should always use manage.py (or pass the --settings parameter to django-admin, which is effectively what manage.py does).

Leave a comment