f75e51cbc8d0fa611902086582672ea627ab643f kent Thu Sep 12 22:20:45 2019 -0700 Adding uuid field to project. diff --git src/hca/hcat/mysite/hcat/admin.py src/hca/hcat/mysite/hcat/admin.py index 27bfafa..6408908 100644 --- src/hca/hcat/mysite/hcat/admin.py +++ src/hca/hcat/mysite/hcat/admin.py @@ -77,30 +77,31 @@ 'responders', ('first_response_date', 'last_response_date'), )}), ('submission steps', { 'fields': ( ('questionnaire_date', 'questionnaire_comments'), ('tAndC_date', 'tAndC_comments'), ('sheet_template_date', 'sheet_template', ), ('sheet_from_lab_date', 'sheet_from_lab', ), ('back_to_lab_date', 'back_to_lab', ), ('lab_review_date', 'lab_review_comments', ), ('sheet_validated_date', 'sheet_that_validated', ), ('staging_area_date', 'staging_area', ), ('submit_date', 'submit_comments', ), )}), ('post-submit', { 'fields': ( + 'uuid', ('cloud_date', 'pipeline_date', 'orange_date'), )}), ('biosample', { 'fields': (('species', 'sample_type'), ('organ', 'organ_part'), 'disease')}), ('assay', { 'fields': ('assay_type', 'assay_tech', 'cells_expected')}), ('pubs, people, and pay', { 'fields': ('description', 'publications', 'contributors', 'grants')}), ) admin.site.register(Project, ProjectAdmin) class GrantAdmin(admin.ModelAdmin): autocomplete_fields = ["funded_contributors", "funded_projects", "funded_labs", ] search_fields = ["funded_contributors", "funded_projects", "funded_labs"] list_display = ['grant_id', 'funder', 'grant_title',] list_filter = ['funder']