O'Reilly logo

Python Tools for Visual Studio by Cathy Wang, Martino Sabia

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a new Django application

A Django application is a submodule of the project which is self-contained and not intertwined with other applications. In theory, you could copy it and put it in another project without much, or any, change.

Typically, to start a Django app, you have to run the manage.py startapp command in the command line, which will create a new folder in your projectwhere you can find a view, a model, an admin, and a test Python file.

Visual Studio provides an easy way of creating a new Django app right in the IDE, automating the whole process; furthermore, the command is also in the process of creating a template folder. To create a new Django application, just right-click on the project node in the Solution Explorer window ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required