Articles → DJANGO → Create An Empty Django Project
Create An Empty Django Project
Steps
- Open command prompt.
- Go to the folder where you want to create a project using cd command.
- Write the following command
<path>\django-admin.exe startproject myFirstSite
Click to Enlarge
Files
- myFirstSite – Root folder.
- manage.py - A command-line utility that lets you interact with this Django project
- Inner myFirstSite – This directory contains actual python package.
- myFirstSite/__init__.py - An empty file that tells Python that this directory should be considered a Python package.
- myFirstSite/settings.py- Settings/configuration for this Django project.
- myFirstSite/urls.py- The URL declarations for this Django project
- myFirstSite/wsgi.py- An entry-point for WSGI-compatible web servers to serve your project