Azure and Django overview

Starting with the 1.5 release, PTVS supports Django and cloud computing on Azure!

For a Video walkthrough please watch: http://www.youtube.com/watch?v=UsLti4KlgAY

You can use PTVS to develop / edit / debug Django apps with or without using Azure.  PTVS has built in support for deployment to Azure. 

Azure itself supports multiple languages and app architectures:

  • C#/.Net, C++, Java, Node.js, Python, ...
  • "Cloud Service", "Web Sites", VMs (Windows & Linux)
  • IPython notebook backed by a Windows or Linux based engine in Azure
  • etc.

Full documentation on these topics, including installation are available on Azure webpages at: https://www.windowsazure.com/en-us/develop/python

 

Using Django with PTVS

For full documentation on Django itself please see https://www.djangoproject.com/ .

[Note: you need to have a CPython interpreter installed prior to using the Django features of PTVS]

You can use PTVS to create, edit, debug and deploy your Django project. While the Edit/Debug features are Cloud independent, built-in deployment support currently is limited to Windows Azure. 

On Azure you can run Django on Windows and Linux VM’s, or run it as a “Cloud Service”.   PTVS’s built-in support for deployment to Azure uses the Cloud Service model.  On Windows Azure / Cloud Service, IIS + FastCGI is used along with our own WFastCGI script to handle requests.   You can also setup Django with Apache, etc.  but there isn’t built-in support for it.

The following features are currently supported:

Creating a Django Application:

New Python Project Templates

 

Django Templates:

Template Added to Solution Explorer

 

Template Intellisense

Template Intellisense for Django Filters

 

Debugging:

Debugger stopped at a template breakpoint

 

Running in the local Windows Azure Emulator and Publishing to the cloud:

Add Deployment Project

 

 

For a complete walkthrough of the features and deployment to Windows Azure, please see:  https://www.windowsazure.com/en-us/develop/python/tutorials/django-with-visual-studio/.

 

Last edited Feb 12 at 7:53 PM by Ptools, version 11

Comments

No comments yet.