Update django_storage.py

Protect option values in debug mode.