Which Django command is used to create a new Django project?
Correct answer
B. django startproject
17 views
B. django startproject
17 views
A new project is created with the startproject command — in full, django-admin startproject projectname. It generates manage.py and the settings package.
Individual apps inside the project are then added with python manage.py startapp appname.
For more solved questions like this one, see Computer Science MCQs on MCQsExam.com.
Not sure why the answer is B? Ask here and get an explanation.