Use autocompletefields for owner and editors in admin
This commit is contained in:
parent
560ace68f8
commit
d9be546c9f
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@ class TileLayerAdmin(admin.ModelAdmin):
|
|||
|
||||
class MapAdmin(admin.OSMGeoAdmin):
|
||||
search_fields = ("name",)
|
||||
autocomplete_fields = ("owner", "editors")
|
||||
|
||||
|
||||
admin.site.register(Map, MapAdmin)
|
||||
|
|
Loading…
Reference in a new issue