rename
This commit is contained in:
parent
95713c7051
commit
ca54d52473
@ -47,9 +47,9 @@ def update_object(request):
|
||||
object_list = Equipment.objects.filter(my_filter).all()
|
||||
m_list = []
|
||||
for obj in object_list:
|
||||
type = obj.model
|
||||
type_g = obj.model
|
||||
icon = ''
|
||||
icon_obj = ModelTypeIcons.objects.filter(model=type).last()
|
||||
icon_obj = ModelTypeIcons.objects.filter(model=type_g).last()
|
||||
if icon_obj is not None:
|
||||
icon = "/" + icon_obj.path
|
||||
m_list.append({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user