Code Monkey home page Code Monkey logo

app-service-web-python-get-started's Introduction

services platforms author
app-service\web, app-service
python
cephalin

Python sample for Azure App Service - Django

This is a Python web app built on the Django framework that you can deploy to Azure App Service.

This code is generated by Python Tools for Visual Studio from the default Django template. The Visual Studio files have been removed.

To learn how to deploy this starter web app to App Service in a few minutes, go to Get started with web apps in Azure App Service.

License

See LICENSE.

app-service-web-python-get-started's People

Contributors

acomsmpbot avatar cephalin avatar estiller avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

app-service-web-python-get-started's Issues

Yellow screen of death when deploying via github

When you fork this on Github and use that as deployment source for a brand-new Web App, the resulting website shows you a nice yellow screen of death. After some investigation, the actual error turns out to be:

Couldn't find type for class Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener, Microsoft.WindowsAzure.Diagnostics, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35.

Why is this part of the web.config here, and if it does bring value for diagnostics or whatever on azure, why isn't there a valid type available?

Static files aren't being served

When deploying this sample as is (after fixing the yellow screen of death), static files aren't being served and Django complains that it can't find ^static defined in urls.py.

Document Moved

Hi there,
I am using Django Rest Framework on Azure App Service and my JSON comes back with this HTML added to the response. This is only for POST requests.

<head><title>Document Moved</title></head>
<body><h1>Object Moved</h1>This document may be found <a HREF=".......">here</a></body>

Any idea how I can sort this out?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.