update to delete templocation after tranfer to location
This commit is contained in:
@ -131,6 +131,7 @@ def tranfer_to_location(modeladmin, request, queryset):
|
||||
geom=l.geom
|
||||
)
|
||||
loc.save()
|
||||
l.delete()
|
||||
tranfer_to_location.short_description = "Transfer all locations in temp table to location table"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user