SimpleListFilter is a property of admin not gis.admin
This commit is contained in:
parent
af1fb2eff0
commit
b18abe2757
|
@ -1,7 +1,7 @@
|
||||||
from django.contrib.gis import admin
|
from django.contrib.gis import admin
|
||||||
from models import *
|
from models import *
|
||||||
from django import forms
|
from django import forms
|
||||||
|
from django.contrib.admin import SimpleListFilter
|
||||||
|
|
||||||
class FeatureTypeFilter(admin.SimpleListFilter):
|
class FeatureTypeFilter(admin.SimpleListFilter):
|
||||||
# Human-readable title which will be displayed in the
|
# Human-readable title which will be displayed in the
|
||||||
|
|
Loading…
Reference in New Issue
Block a user