Django Installation in Windows

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 runserver

6 thoughts to “Django Installation in Windows”

  1. I just want to say I am new to blogs and really savored this website. Likely I’m planning to bookmark your website . You definitely have fantastic posts. Bless you for sharing with us your web page.

  2. Thanks for a marvelous posting! I definitely enjoyed reading it, you may be a great author.I will remember tobookmark your blog and will eventually come back laterin life. I want to encourage you to continue your great work, havea nice evening!

  3. I love what you guys are up too. This type of clever work and exposure!Keep up the fantastic works guys I’ve added you guys to my own blogroll.

  4. Hey! I’m at work surfing around your blog from my new iphone 3gs! Just wanted to say I love reading through your blog and look forward to all your posts! Carry on the superb work!

Leave a Reply

Your email address will not be published. Required fields are marked *