Skip to content

Commit

Permalink
Remove Python 2 only code (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamchainz authored May 13, 2024
1 parent a4a3cd0 commit 53966a7
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions djgeojson/fields.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 0 additions & 3 deletions djgeojson/nogeos.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# -*- coding: utf-8 -*-


class GEOSGeometry(object):
"""
A simple mock of django.contrib.gis.geos.GEOSGeometry to make
Expand Down
2 changes: 0 additions & 2 deletions djgeojson/tests.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import unicode_literals

import json

import django
Expand Down
1 change: 0 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit 53966a7

Please sign in to comment.