This is a tutorial application documented here: https://wikitech.wikimedia.org/wiki/Help:Tool_Labs/My_first_Django_OAuth_tool#Configure_project_for_production_environment The code is hosted here: https://github.com/tobias47n9e/my-first-django-oauth-app