Create new django project (or bottle -- didn't test flask)
Create virtual env, install django (or bottle)
Convert to Windows Azure Cloud Service Project
Publish that project to a new cloud service
Browse to the published site, and you'll get a 500 internal server error.
This is a known issue that we saw in NTVS and it occurs in PTVS as well. What happens is that at the "Convert to Windows Azure Cloud Service Project" step, we add some extra configuration to the default
Occasionally this fails and the extra tasks are not added. To correct the issue manually, open the
file and ensure that the following startup task has been added. If it has not, the Startup element below can be added anywhere under the WebRole element.
<Task commandLine="Microsoft.PythonTools.AzureSetup.exe" executionContext="elevated" taskType="simple">
<RoleInstanceValue xpath="/RoleEnvironment/Deployment/@emulated" />