@@ -71,7 +71,7 @@ class RackTable(BaseTable):
71
71
order_by = ('_name' ,),
72
72
linkify = True
73
73
)
74
- group = tables .Column (
74
+ location = tables .Column (
75
75
linkify = True
76
76
)
77
77
site = tables .Column (
@@ -88,10 +88,10 @@ class RackTable(BaseTable):
88
88
class Meta (BaseTable .Meta ):
89
89
model = Rack
90
90
fields = (
91
- 'pk' , 'name' , 'site' , 'group ' , 'status' , 'facility_id' , 'tenant' , 'role' , 'serial' , 'asset_tag' , 'type' ,
91
+ 'pk' , 'name' , 'site' , 'location ' , 'status' , 'facility_id' , 'tenant' , 'role' , 'serial' , 'asset_tag' , 'type' ,
92
92
'width' , 'u_height' ,
93
93
)
94
- default_columns = ('pk' , 'name' , 'site' , 'group ' , 'status' , 'facility_id' , 'tenant' , 'role' , 'u_height' )
94
+ default_columns = ('pk' , 'name' , 'site' , 'location ' , 'status' , 'facility_id' , 'tenant' , 'role' , 'u_height' )
95
95
96
96
97
97
class RackDetailTable (RackTable ):
@@ -113,11 +113,11 @@ class RackDetailTable(RackTable):
113
113
114
114
class Meta (RackTable .Meta ):
115
115
fields = (
116
- 'pk' , 'name' , 'site' , 'group ' , 'status' , 'facility_id' , 'tenant' , 'role' , 'serial' , 'asset_tag' , 'type' ,
116
+ 'pk' , 'name' , 'site' , 'location ' , 'status' , 'facility_id' , 'tenant' , 'role' , 'serial' , 'asset_tag' , 'type' ,
117
117
'width' , 'u_height' , 'device_count' , 'get_utilization' , 'get_power_utilization' , 'tags' ,
118
118
)
119
119
default_columns = (
120
- 'pk' , 'name' , 'site' , 'group ' , 'status' , 'facility_id' , 'tenant' , 'role' , 'u_height' , 'device_count' ,
120
+ 'pk' , 'name' , 'site' , 'location ' , 'status' , 'facility_id' , 'tenant' , 'role' , 'u_height' , 'device_count' ,
121
121
'get_utilization' , 'get_power_utilization' ,
122
122
)
123
123
0 commit comments