|
@@ -63,6 +63,7 @@ class ItemAdmin(admin.ModelAdmin):
|
|
'designation', 'mac_address', 'serial',
|
|
'designation', 'mac_address', 'serial',
|
|
'owner__email', 'owner__nickname',
|
|
'owner__email', 'owner__nickname',
|
|
'owner__first_name', 'owner__last_name')
|
|
'owner__first_name', 'owner__last_name')
|
|
|
|
+ save_as = True
|
|
actions = ['give_back']
|
|
actions = ['give_back']
|
|
|
|
|
|
def give_back(self, request, queryset):
|
|
def give_back(self, request, queryset):
|