Skip to content

Commit

Permalink
added collection kit values to admin
Browse files Browse the repository at this point in the history
  • Loading branch information
saramonzon committed Jul 27, 2023
1 parent 3c46617 commit 54f0943
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions wetlab/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,17 @@ class CollectionIndexKitAdmin(admin.ModelAdmin):
)


class CollectionIndexValuesAdmin(admin.ModelAdmin):
list_display = (
"collection_index_kit_id",
"default_well",
"index_7",
"i_7_seq",
"index_5",
"i_5_seq",
)


class SamplesInProjectAdmin(admin.ModelAdmin):
list_display = [
"sample_name",
Expand Down Expand Up @@ -275,6 +286,7 @@ class RunConfigurationTestAdmin(admin.ModelAdmin):
admin.site.register(wetlab.models.RunningParameters, RunningParametersAdmin)
admin.site.register(wetlab.models.RunProcess, RunProcessAdmin)
admin.site.register(wetlab.models.CollectionIndexKit, CollectionIndexKitAdmin)
admin.site.register(wetlab.models.CollectionIndexValues, CollectionIndexValuesAdmin)
admin.site.register(wetlab.models.Projects, ProjectsAdmin)
admin.site.register(wetlab.models.RunErrors, RunErrorsAdmin)
admin.site.register(wetlab.models.RunStates, RunStatesAdmin)
Expand Down

0 comments on commit 54f0943

Please sign in to comment.