Skip to content
Snippets Groups Projects
Commit 6cb3e4a2 authored by Branson Craig Stephens's avatar Branson Craig Stephens
Browse files

Removed analysis type from admin interface, added pipeline and search.

parent 23ead0de
No related branches found
No related tags found
No related merge requests found
......@@ -4,15 +4,11 @@ from models import Label, Labelling, Tag
from django.contrib import admin
class EventAdmin(admin.ModelAdmin):
def analysis_type(obj):
return obj.get_analysisType_display()
analysis_type.admin_order_field = 'analysisType'
def graceid(obj):
return obj.graceid()
graceid.admin_order_field = 'id'
list_display = [ graceid, 'group', analysis_type, 'submitter' ]
list_display = [ graceid, 'group', 'pipeline', 'search', 'submitter' ]
search_fields = [ 'group__name', 'submitter__name' ]
class LabelAdmin(admin.ModelAdmin):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment