https://wikitech.wikimedia.org/wiki/Help:Toolforge/My_first_Django_OAuth_tool
We have some docs for Flask apps, but Django is also a popular python framework. The convention of --mount /tool=~/www/python/src/app.py and a callable named app doesn't cleanly match up with the generated files for a Django application. It should be possible to setup however with a bit of custom code.
See also:
- https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/
- https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/uwsgi/
Related to: T134494