|
|
@@ -51,6 +51,9 @@ class ModuleTypeTable(PrimaryModelTable):
|
|
|
linkify=True,
|
|
|
verbose_name=_('Module Type')
|
|
|
)
|
|
|
+ cooling_method = columns.ChoiceFieldColumn(
|
|
|
+ verbose_name=_('Cooling Method'),
|
|
|
+ )
|
|
|
weight = columns.TemplateColumn(
|
|
|
verbose_name=_('Weight'),
|
|
|
template_code=WEIGHT,
|
|
|
@@ -71,8 +74,8 @@ class ModuleTypeTable(PrimaryModelTable):
|
|
|
class Meta(PrimaryModelTable.Meta):
|
|
|
model = ModuleType
|
|
|
fields = (
|
|
|
- 'pk', 'id', 'model', 'profile', 'manufacturer', 'part_number', 'airflow', 'weight', 'description',
|
|
|
- 'attributes', 'module_count', 'comments', 'tags', 'created', 'last_updated',
|
|
|
+ 'pk', 'id', 'model', 'profile', 'manufacturer', 'part_number', 'airflow', 'cooling_method', 'weight',
|
|
|
+ 'description', 'attributes', 'module_count', 'comments', 'tags', 'created', 'last_updated',
|
|
|
)
|
|
|
default_columns = (
|
|
|
'pk', 'model', 'profile', 'manufacturer', 'part_number', 'module_count',
|