DEBUG state (settings.py) defines which local addresses Django is using.