Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Django app for generating Canvas API user oauth tokens

Project Description

A reusable django app for handling the workflow of generating per-user Canvas API oauth tokens. The app assumes that your django project is using the django_auth_lti middleware.


pip install django-canvas-api-token


  1. Add "canvas_api_token" to your INSTALLED_APPS settings
  2. Insert the url configuration into your project/app
url(r'^canvas_api_token/', include('canvas_api_token.urls'))
  1. Run python migrate to ensure db tables are initialized.
  2. Use the admin site to create a canvas_dev_key entry using the consumer_key and developer key values from your Canvas consumer where …
  • client_id is the integer client id value of your Canvas developer key
  • client_secret is the random string ‘secret’ value of your Canvas developer key


django-canvas-api-token is licensed under the BSD license

Release History

0.1.0 (2014-12-17)

  • Birth!

0.1.1 (2014-12-18)

  • fixed download_url in

0.1.2 (2015-01-07)

  • fixed bug in utils.canvas_uri use of urlunparse
  • added unique index to CanvasApiToken.user_id

0.2.0 (2015-04-28)

DB storage of canvas developer keys

  • New model: CanvasDeveloperKey
  • enable admin site
  • make CanvasApiToken.user a foreign key into user model
Release History

Release History

This version
History Node


History Node


History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django_canvas_api_token-0.2.0-py2-none-any.whl (10.2 kB) Copy SHA256 Checksum SHA256 py2 Wheel May 6, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting