Setup Your VS Code Environment for Django App in 5 minutes (Step by Step)

Read Pal Hong Kong
3 min readJun 13, 2024

What is Django?

Django is a high-level Python web framework that encourages rapid development and clean, pragmatic design. Built by experienced developers, it takes care of much of the hassle of web development, so you can focus on writing your app without needing to reinvent the wheel. It’s free and open source.

Step 1: How can we create a Django Project:

  1. Create a virtual environment by using VENV
  2. Select the virtual environment by using the keys combination
    [Ctrl]+[Shift]+[P]
  3. Install the latest version of Django by using “pip”
pip install django

4. Create a Django project in terminal
django-admin startproject <project_name>

django-admin startproject <project_name>

Ta-da! You have successfully created the Django project.

Step 2: Understand the folder structure:

Django project folder’s structure:
Top level:
<project_name>
- this is the folder which stores all the files of your app.

--

--