Commit 3617bee5 authored by Nicolas Noé's avatar Nicolas Noé
Browse files

Small admin improvements.

parent e5c4a3be
......@@ -24,7 +24,7 @@ class SpecimenAdmin(admin.ModelAdmin):
form = MyAdminForm
list_display = ('specimen_id', 'station', 'scientific_name', 'identified_by', 'specimen_location', 'depth_str', 'fixation')
list_filter = ('identified_by', 'specimen_location', 'fixation', 'station')
list_filter = ('identified_by', 'specimen_location', 'fixation', 'station__expedition')
search_fields = ['scientific_name', 'specimen_id']
# TODO: document searchable fields in template? (
......@@ -56,6 +56,6 @@ class ExpeditionAdmin(admin.ModelAdmin):
class SpecimenPictureAdmin(admin.ModelAdmin):
fields = ('specimen', 'image', 'high_interest') = 'Astapor administration'
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment