Creating A Django project

One of the great things about using VS for Django development is that the only thing you need to install other than VS is Python. So if you followed the instructions in Chapter 1, Introduction to Django and Getting Started, and have installed Python, there is nothing else to do-VS takes care of the virtual environment, installing any Python modules you need and even has all of Django's management commands built in to the IDE.

To demonstrate these capabilities, lets create our mysite project from Chapter 1, Introduction to Django and Getting Started, but this time we will do it all from inside VS.

Start a Django project

Select File > New > Project from the top menu and then select a Python web project from the dropdown on ...

Get Mastering Django: Core now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.