From 880568ecfd22b58004fdacfcd3a49985a9443fe3 Mon Sep 17 00:00:00 2001 From: Brandon King Date: Mon, 20 Jul 2009 18:36:29 +0000 Subject: [PATCH] Lorian requested save_as feature in admin interface. --- htsworkflow/frontend/inventory/admin.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/htsworkflow/frontend/inventory/admin.py b/htsworkflow/frontend/inventory/admin.py index 7d9d537..00e79fb 100644 --- a/htsworkflow/frontend/inventory/admin.py +++ b/htsworkflow/frontend/inventory/admin.py @@ -3,13 +3,16 @@ from django.contrib import admin from htsworkflow.frontend.inventory.models import Item, ItemInfo, ItemType, Vendor, Location, LongTermStorage, ItemStatus, ReagentFlowcell, ReagentLibrary class ItemAdmin(admin.ModelAdmin): + save_as = True + save_on_top = True list_display = ('uuid', 'barcode_id','item_type', 'item_info', 'location', 'force_use_uuid', 'creation_date') list_filter = ( 'item_type', ) class ItemInfoAdmin(admin.ModelAdmin): - pass + save_as = True + save_on_top = True class ItemTypeAdmin(admin.ModelAdmin): pass -- 2.30.2