Skip to content

This repository provides comprehensive resources to help you learn Django, from beginner to advanced levels.

Notifications You must be signed in to change notification settings

Sagarvermakumar/django-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Django Project Setup in Visual Studio Code on Windows

This guide will walk you through setting up a Django project using Visual Studio Code (VS Code) on a Windows system.

Prerequisites

Make sure you have the following installed on your system

Steps

1. Install Django

Open your command prompt and install Django using pip:

  pip install django

2. Set Up Your Project Directory

Create a new directory for your Django project and navigate into it:

mkdir my_django_project
cd my_django_project

3. Create a Virtual Environment

It's a good practice to create a virtual environment for your project to manage dependencies:

python -m venv venv

Activate the virtual environment:

  • For Command Prompt:
venv\Scripts\activate
  • For PowerShell:
.\venv\Scripts\Activate.ps1

4. Install Django in the Virtual Environment

Once the virtual environment is activated, install Django:

pip install django

5. Start a New Django Project

Create a new Django project named myproject:

django-admin startproject myproject .

6. Open the Project in VS Code

Open your project folder in Visual Studio Code:

code .

9. Now Start the Development Server

python manage.py runserver

Congratulations! 🎉

Your app is up and running! Here's what you need to know to get started.

App Screenshot

Documentation

For detailed information on how to use and customize this app, refer to the documentation .

🔗 Author - Sagar Verma

portfolio

About

This repository provides comprehensive resources to help you learn Django, from beginner to advanced levels.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages