Articles → DJANGO → Create An Empty Django Project

Create An Empty Django Project


  1. Open command prompt.
  2. Go to the folder where you want to create a project using cd command.
  3. Write the following command

<path>\django-admin.exe startproject myFirstSite

Picture showing the folder structure of the first django project
Click to Enlarge


  1. myFirstSite – Root folder.
  2. - A command-line utility that lets you interact with this Django project
  3. Inner myFirstSite – This directory contains actual python package.
  4. myFirstSite/ - An empty file that tells Python that this directory should be considered a Python package.
  5. myFirstSite/ Settings/configuration for this Django project.
  6. myFirstSite/ The URL declarations for this Django project
  7. myFirstSite/ An entry-point for WSGI-compatible web servers to serve your project

Posted By  -  Karan Gupta
Posted On  -  Tuesday, May 28, 2019


Your Email Id  
Query/FeedbackCharacters remaining 250