Skip to content

Commit

Permalink
GeoQuerySet was deprecated in Django 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
asherf committed Feb 11, 2018
1 parent 6ed9cda commit 390836f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 31 deletions.
2 changes: 0 additions & 2 deletions src/livefield/gis/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
from .managers import LiveGeoManager
from .models import LiveGeoModel
from .querysets import LiveGeoQuerySet


__all__ = [
"LiveGeoManager",
"LiveGeoModel",
"LiveGeoQuerySet",
]
4 changes: 2 additions & 2 deletions src/livefield/gis/managers.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from django.db import models
from .querysets import LiveGeoQuerySet
from ..querysets import LiveQuerySet


class LiveGeoManagerBase(models.Manager):
Expand All @@ -17,4 +17,4 @@ def get_queryset(self):
return qs


LiveGeoManager = LiveGeoManagerBase.from_queryset(LiveGeoQuerySet)
LiveGeoManager = LiveGeoManagerBase.from_queryset(LiveQuerySet)
27 changes: 0 additions & 27 deletions src/livefield/gis/querysets.py

This file was deleted.

0 comments on commit 390836f

Please sign in to comment.