How to Set Up a Django Project

When you start building any new Django web application, there’s a basic setup you need to tackle first. This course outlines the necessary steps to set up a Django project.

During this course, you’ll focus on the initial steps you’ll need to take to start a new web application. You should first have Python installed and you should know how to work with virtual environments and Python’s package manager, pip. You won’t need much programming knowledge to follow along with this setup, though you’ll need to know some Python to develop your project further afterwards.

After finishing this course, you’ll know how to:

  • Set up a virtual environment
  • Install Django
  • Pin your project dependencies
  • Set up a Django project
  • Start a Django app

What’s Included:

Downloadable Resources:

About Martin Breuss

Martin likes automation, goofy jokes, and snakes, all of which fit into the Python community. He enjoys learning and exploring and is up for talking about it, too. He writes and records content for Real Python and CodingNomads.

» More about Martin

Each tutorial at Real Python is created by a team of developers so that it meets our high quality standards. The team members who worked on this tutorial are:

Participant Comments

Avatar image for Jack

Jack on June 12, 2021

OMG, this “slimmer structure” just resolved my deepest confusion in learning Django! Just like that! What a great demonstration!

← Browse All Courses