opensafely-core / opencodelists

OpenCodelists is an open platform for creating and sharing codelists of clinical terms and drugs.
https://www.opencodelists.org
Other
31 stars 10 forks source link

Make django-debug-toolbar a development dependency #2023

Open iaindillingham opened 1 month ago

iaindillingham commented 1 month ago

This issue is the opencodelists equivalent of opensafely-core/job-server#4441:

django-debug-toolbar is a production dependency. This is unexpected.^1 We should make it a development dependency. Doing so will involve moving it from production requirements to development requirements, and also ensuring that its settings are conditional on running in development.

See opensafely-core/job-server#4480 for how this was achieved in Job Server and opensafely-core/airlock#131 for how this was achieved in Airlock.