HOW TO SETUP DJANGO WITH A VIRTUAL ENVIRONMENT | Python VENV

Опубликовано: 18 Март 2026
на канале: Always Django
60
2

In this video, we'll be teaching you the basics of Django, a popular Python web development framework. This beginner tutorial will cover everything you need to get started with Django, from setting up your development environment to creating your first web page.

If you're new to Python and web development, then this Django tutorial is for you! By the end of this series, you'll have a solid understanding of the basics of Django, and be ready to tackle more complex projects. Subscribe now to get started!

Reference Link - https://alwaysdjango.com/django-virtu...
How to create a Django project - https://alwaysdjango.com/how-to-creat...

Helpful commands
Installing Virtualenv
===================
pip install virtualenv
Creating a virtual env
==========================
python -m venv name_of_virtual_environ
Activating a virtual env
============================
name_of_virtual_environ\Scripts\activate
Installing Django
==========================
pip install django
Creating a Django project
=====================================
django-admin startproject project_name
Starting a Django project
=====================================
python manage.py runserver
Deactivating a virtual environment
==============================
deactivate