Django Web Project templates for Python - Visual Studio (Windows) (original) (raw)

Django is a high-level Python framework designed for rapid, secure, and scalable web development. Python support in Visual Studio provides several project templates to set up the structure of a Django-based web application.

The templates are available in Visual Studio under File > New > Project and include the Blank Django Web Project and Django Web Project. For a walkthrough of the templates, see the Work with the Django web framework in Visual Studio tutorial series.

Intellisense features

Visual Studio provides full IntelliSense support for Django projects, including the following features:

Debugging support

Visual Studio also provides full debugging support for Django projects:

Screenshot that shows Debugger breakpoints used in Django development in Visual Studio.

Django management console

The Django management console is accessed through various commands on the Django Project menu or by right-clicking the Django project in Solution Explorer.

Important

Django projects are typically managed through a manage.py file and Visual Studio follows this approach. If you stop using the manage.py file as the entry point, you essentially break the project file. In this case, you need to recreate the project from existing files without marking it as a Django project.