Refactor to use settings.development?

Any reason not to use settings.development? here?