Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Python 2 only code #124

Merged
merged 1 commit into from
May 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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