Search⌘ K

Setting Up Django and Installing Required Packages

Explore how to create a Django project directory, set up a virtual environment, install Django and related packages, configure settings for Simple JWT authentication, and run your local project successfully. This lesson prepares you to build and test JWT authenticated Django RESTful applications from the ground up.

Project setup

You aren’t required to install anything to run Django projects on the Educative platform. Instead, a project with all the needed packages is ready and set up for you so that you can focus on the lessons. You just click the “Run” button, and it will run on your browser. However, if there is an error and the project stops running, you’ll have to run it using the manual terminal commands.

For this reason, you might want to know how to set up the project locally on your machine while working on your project. Here is how to do that.

Step 1. Creating a project directory

The first step is to create a directory where your Django project will ...