diff --git a/tests/django_restframework_gis_tests/tests.py b/tests/django_restframework_gis_tests/tests.py index c515d8bb..4a3a05e9 100644 --- a/tests/django_restframework_gis_tests/tests.py +++ b/tests/django_restframework_gis_tests/tests.py @@ -4,6 +4,7 @@ import json import pickle +from html import escape from django.contrib.gis.geos import GEOSGeometry, Point from django.core.exceptions import ImproperlyConfigured @@ -528,8 +529,8 @@ def test_geojson_HTML_widget_value(self): self.geojson_location_list_url, headers={"accept": 'text/html'} ) self.assertContains(response, '