tl-its-umich-edu / canvas-app-explorer

A Web application that presents a list of Canvas external (LTI) tools with details. When integrated within Canvas, the user can search for specific LTI tool(s), and add or remove those tools from Canvas courses.
Apache License 2.0
4 stars 6 forks source link

Make Django Secret and other variables configurable #40

Closed jonespm closed 3 years ago

jonespm commented 3 years ago

This needs to be configurable before releasing to production.

We've typically used hjson and it's just worked. We've also used constance for variables that could be defined in the database.

Perhaps rather than hjson we can just use a .env file, in the past we used https://pypi.org/project/python-decouple/

https://github.com/tl-its-umich-edu/canvas-app-explorer/blob/68c83709f526746778272584b3d30f100f70751c/backend/settings.py#L24