Book Image

Python Tools for Visual Studio

Book Image

Python Tools for Visual Studio

Overview of this book

Table of Contents (13 chapters)

Chapter 4. Django in PTVS

Django is a high-level Python Web framework based on the Model View Controller (MVC) pattern; it provides a series of tools and helpers to create a rapid development environment for the Web. There are plenty of successful websites that are based on Django, such as Instagram, Pinterest, Disqus, and some parts of Dropbox. It has been in development since 2006, making it a rock-solid choice for web projects, especially when using Python as the language of choice. For more information about Django, refer to its official project website at https://www.djangoproject.com/.

In this chapter, we will go deeper into Django framework integration in Visual Studio. We will see how to start a Django project, taking advantage of Visual Studio tools and setting up the development environment for it.

Once we have a basic working website, we will learn how to create a connection to the database and set up the admin interface to create a new Django application within Visual Studio.