From 4bd42c886c332f617094ba9d563a0daec5093984 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Fri, 5 Apr 2024 09:44:51 +0100 Subject: [PATCH] Remove Python 2 only code --- djgeojson/fields.py | 2 -- djgeojson/nogeos.py | 3 --- djgeojson/tests.py | 2 -- docs/conf.py | 1 - 4 files changed, 8 deletions(-) diff --git a/djgeojson/fields.py b/djgeojson/fields.py index 1121803..2dc20a0 100644 --- a/djgeojson/fields.py +++ b/djgeojson/fields.py @@ -1,5 +1,3 @@ -from __future__ import unicode_literals - from django.db.models import JSONField from django.forms.fields import JSONField as JSONFormField, InvalidJSONInput from django.forms.widgets import HiddenInput diff --git a/djgeojson/nogeos.py b/djgeojson/nogeos.py index 194022b..16a76d1 100644 --- a/djgeojson/nogeos.py +++ b/djgeojson/nogeos.py @@ -1,6 +1,3 @@ -# -*- coding: utf-8 -*- - - class GEOSGeometry(object): """ A simple mock of django.contrib.gis.geos.GEOSGeometry to make diff --git a/djgeojson/tests.py b/djgeojson/tests.py index a7770bd..1d46752 100644 --- a/djgeojson/tests.py +++ b/djgeojson/tests.py @@ -1,5 +1,3 @@ -from __future__ import unicode_literals - import json import django diff --git a/docs/conf.py b/docs/conf.py index 04d9fde..d67fcc0 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # django-geojson documentation build configuration file, created by # sphinx-quickstart on Tue Feb 28 13:44:49 2017.