From 2a7b11720eb543c1d2b1f8c643b7f2206ff870f2 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Thu, 30 Nov 2017 15:51:11 -0700 Subject: [PATCH] ENH: Collection editing (#33) --- ccdb/collections_ccdb/serializers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ccdb/collections_ccdb/serializers.py b/ccdb/collections_ccdb/serializers.py index 95b16c8..c3e63f9 100644 --- a/ccdb/collections_ccdb/serializers.py +++ b/ccdb/collections_ccdb/serializers.py @@ -29,6 +29,7 @@ class CollectionSerializer(serializers.ModelSerializer): 'storage_location', 'specimen_state', 'process_type', 'reagent', 'adfg_permit', 'flaw', 'display_name', 'collection_species') + read_only_fields = ('collection_species',) class ADFGPermitSerializer(serializers.ModelSerializer):