Django Web 1 min read

Django Installation in Windows

Jack Tiong
Jack Tiong
January 11, 2019

These are the steps to install Django in Windows environment.


** Important Notes **

  • Use Command Prompt instead of PowerShell.

1.Download and install Python. Remember to add Path to environment variable.

2. Download and install PIP.

3. Install a virtual environment.

pip install virtualenvwrapper-win

4. Create a virtual environment for all Django projects.

mkvirtualenv <your_virtual_env_name>

5. Activate the virtual environment.

workon <your_virtual_env_name>

6. Download and install Django using PIP.

pip install django

7. To start a new Django project, at designated location (make sure virtual env is activated):

django-admin startproject <your_project_name>

8. Test run Django project using built in web server. In the project root directory, run:

python manage.py runserver

Speed Up Your Workflow

Want the full source code ready to ship?

Explore our professionally coded React Native & Expo UI Kits, complete with screens, navigators, and theme support.

Browse All Templates

Related Tutorials

View All Tutorials →
Python

Introduction of web scrapping with Python

In this series of blog posts, we will introduce 2 methods to perform web scrapping with Python: Method 1: Using requests and BeautifulSoup This method is applicable for web page which having static or server side rendered content. However, this method is not applicable for web page that rendered by client side Javascript. Method 2: […]

Jan 13, 2019 Read →