1
0
Fork 0

admin/Satellite: Add search field

merge-requests/732/head
Fabian P. Schmidt 2019-03-20 13:58:29 +01:00
parent 8e1a76cbf3
commit 228099da9f
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ class SatelliteAdmin(admin.ModelAdmin):
list_display = ('id', 'name', 'norad_cat_id', 'manual_tle', 'norad_follow_id', 'status')
list_filter = ('status', 'manual_tle',)
readonly_fields = ('name', 'names', 'image')
search_fields = ('name', 'norad_cat_id', 'norad_follow_id')
@admin.register(Tle)