admin search through holders_history

This commit is contained in:
Sanj 2012-06-17 00:37:28 +05:30
parent a448c8f388
commit 41cba97545

View File

@ -7,7 +7,7 @@ class PropertyAdmin(admin.OSMGeoAdmin):
# class PropertyAdmin(admin.ModelAdmin): # class PropertyAdmin(admin.ModelAdmin):
list_display = ('__unicode__', 'street_locality', 'tenure', 'ground_rent_due', 'laughton_no', 'area_sqm',) list_display = ('__unicode__', 'street_locality', 'tenure', 'ground_rent_due', 'laughton_no', 'area_sqm',)
list_filter = ('stable',) list_filter = ('stable',)
search_fields = ('street_locality',) search_fields = ('street_locality', 'holders_history',)
map_template = 'gis/admin/osm.html' map_template = 'gis/admin/osm.html'
default_lon = 72.855211097628413 default_lon = 72.855211097628413
default_lat = 19.415775291486027 default_lat = 19.415775291486027