Which command is used to create the first project in Django?

5. Which command is used to create the first project in Django?

  1. django-admin startproject project_name
  2. django-admin startapp project_name
  3. django-admin create project_name
  4. 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

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.