Skip to content

Commit

Permalink
Merge 78527f6 into 7ec925a
Browse files Browse the repository at this point in the history
  • Loading branch information
Austin Riba committed Sep 21, 2016
2 parents 7ec925a + 78527f6 commit 95d17e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rest_framework_gis/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class GeoFilterSet(django_filters.FilterSet):
}

def __new__(cls, *args, **kwargs):
cls.filter_overrides.update(cls.GEOFILTER_FOR_DBFIELD_DEFAULTS)
cls._meta.filter_overrides.update(cls.GEOFILTER_FOR_DBFIELD_DEFAULTS)
cls.LOOKUP_TYPES = sorted(gis_lookups)
return super(GeoFilterSet, cls).__new__(cls)

Expand Down

0 comments on commit 95d17e6

Please sign in to comment.