Wouldn't this be better as:

```python
DEBUG = os.environ.get('DJANGO_DEBUG') == 'True'
```

I like having it though, either way.