Lorian requested save_as feature in admin interface.
authorBrandon King <kingb@caltech.edu>
Mon, 20 Jul 2009 18:36:29 +0000 (18:36 +0000)
committerBrandon King <kingb@caltech.edu>
Mon, 20 Jul 2009 18:36:29 +0000 (18:36 +0000)
htsworkflow/frontend/inventory/admin.py

index 7d9d537d356b6a2c1327d57576e4e6aa40a29cb0..00e79fb9d2ba265f05f2ca2370ca00edf6833a6f 100644 (file)
@@ -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