Home »
Python »
Django MCQs
Which command is used to create the first project in Django?
5. Which command is used to create the first project in Django?
- django-admin startproject project_name
- django-admin startapp project_name
- django-admin create project_name
- django-admin createproject project_name
Answer: A) django-admin startproject project_name
Explanation:
The command to create the first project in Django (Run this command in the command prompt) is:
django-admin startproject project_name