Skip to content

Commit 857993c

Browse files
pre-commit-ci[bot]auvipy
authored andcommitted
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 632e02c commit 857993c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

docs/installation.rst

+3-3
Original file line numberDiff line numberDiff 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+
117117
Troubleshooting
118118
---------------
119119

tests/test_integration.py

+1
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)