Our first Django project will be building a complete blog. Django provides a command that allows you to create an initial project file structure. Run the following command from your shell:
django-admin startproject mysite
This will create a Django project with the name mysite.
Let's take a look at the project structure generated:
mysite/ manage.py mysite/ __init__.py settings.py urls.py wsgi.py
These files are as follows:
- manage.py: This is a command-line utility used to interact with your project. It is a thin wrapper around the django-admin.py tool. You don't need to edit this file.
- mysite/: This is your project directory, ...