We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9721efe commit 97a9165Copy full SHA for 97a9165
docs/installation.rst
@@ -138,7 +138,6 @@ option.
138
If using Docker the following will set your ``INTERNAL_IPS`` correctly in Debug mode::
139
140
if DEBUG:
141
- import os # only if you haven't already imported this
142
import socket # only if you haven't already imported this
143
hostname, _, ips = socket.gethostbyname_ex(socket.gethostname())
144
INTERNAL_IPS = [ip[: ip.rfind(".")] + ".1" for ip in ips] + ["127.0.0.1", "10.0.2.2"]
0 commit comments