1. Home
  2. Computer Science MCQs
  3. Django
  4. Which Django command is used to create a new Django project?

Added 28 Apr 2024

Which Django command is used to create a new Django project?

  1. django create
  2. django startproject Correct answer
  3. python startproject
  4. python create

Correct answer

B. django startproject

17 views

MCQSEXAM

Explanation

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.

Doubts & discussion

Not sure why the answer is B? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Django MCQs

Practise all Django MCQs

Similar MCQs