We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c264558 + 6be2b69 commit 1a60b31Copy full SHA for 1a60b31
cities/admin.py
@@ -17,6 +17,7 @@ class ContinentAdmin(CitiesAdmin):
17
class CountryAdmin(CitiesAdmin):
18
list_display = ['name', 'code', 'code3', 'tld', 'phone', 'continent', 'area', 'population']
19
search_fields = ['name', 'code', 'code3', 'tld', 'phone']
20
+ filter_horizontal = ['neighbours']
21
22
23
class RegionAdmin(CitiesAdmin):
0 commit comments