File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -106,14 +106,14 @@ option. This option allows you to specify a custom function for this purpose.
106106.. warning ::
107107
108108 If using Docker the following will set your `INTERNAL_IPS ` correctly only if you are in Debug mode.::
109-
109+
110110 if DEBUG:
111111 import os # only if you haven't already imported this
112112 import socket # only if you haven't already imported this
113113 hostname, _, ips = socker.gethostbyname_ex(socket.gethostname())
114114 INTERNAL_IPS = [ip[:-1] + '1' for ip in ips] + ['127.0.0.1', '10.0.2.2']
115-
116-
115+
116+
117117Troubleshooting
118118---------------
119119
Original file line number Diff line number Diff line change @@ -299,6 +299,7 @@ def test_sql_explain_checks_show_toolbar(self):
299299 @unittest .skipUnless (settings .USE_GIS , "Test only valid with gis support" )
300300 def test_sql_explain_gis (self ):
301301 from django .contrib .gis .geos import GEOSGeometry
302+
302303 from .models import Location
303304
304305 db_table = Location ._meta .db_table
You can’t perform that action at this time.
0 commit comments