Only enable browsable API if in debug mode (#3221)
Only enable browsable API if in debug mode (#3221)

(cherry picked from commit 6556cbd163feba5e1aa1e19a9b8f89614349292b)
inventree/InvenTree,SchrodingersGat/InvenTree,inventree/InvenTree,inventree/InvenTree,SchrodingersGat/InvenTree,inventree/InvenTree,SchrodingersGat/InvenTree,SchrodingersGat/InvenTree