source.py 227 Bytes
Newer Older
Kenzo-Hugo Hillion's avatar
Kenzo-Hugo Hillion committed
1
2
3
4
5
6
7
from django.contrib import admin

from metagenedb.apps.catalog.models import Source


@admin.register(Source)
class SourceAdmin(admin.ModelAdmin):
8
    list_display = ('name', 'slug', 'url', 'doi')
Kenzo-Hugo Hillion's avatar
Kenzo-Hugo Hillion committed
9
    search_fields = ('name',)