How to Set Up a Django Project (Overview)
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
00:00 Hi, and welcome to this Real Python course on Django setup. In this short course, I’m going to walk you through all the necessary steps that you need to do every time before starting a new Django project.
00:13 You will learn about preparing your environment, which means setting up a virtual environment and activating it, then installing Django and pinning your dependencies.
00:22 Finally, setting up a Django project, so this is the first time you’re actually going to do something with Django and we’re going to talk a little bit about the difference between a Django project and a Django app. After having a Django project, you’re going to start a Django app. And at this point, you’re essentially done.
00:38 This is what you will do every time before starting to work on an individual Django project. And to sum up this course, in the final lesson, I’m going to walk you over a command reference where we just go over all the Bash commands, all the terminal commands, that you used in order to get to this point so that you have a quick overview of the necessary steps for this.
01:02 And that’s all! In the next lesson, you’re going to get started with preparing your environment. See you there!
Become a Member to join the conversation.