Use autocompletefields for owner and editors in admin

This commit is contained in:
Yohan Boniface 2019-04-07 11:51:12 +02:00
parent 560ace68f8
commit d9be546c9f

View file

@ -9,6 +9,7 @@ class TileLayerAdmin(admin.ModelAdmin):
class MapAdmin(admin.OSMGeoAdmin):
search_fields = ("name",)
autocomplete_fields = ("owner", "editors")
admin.site.register(Map, MapAdmin)