The HubDB contains select columns which Noordlease can select the type. For example I have a transmissie select column which I can show it in the front end by using the code below

{% set row = hubdb_table_row(58713535, request.query_dict.auto_id|int) %} {{row.brandstof_type}}

This code shows the value below in the front end.

{id=1, name='Automaat', order=0, label='Automaat'}

In order to show the correct value I have to add the parameter after that. So if I want to show the name of the value, I have to add this code

{% set row = hubdb_table_row(58713535, request.query_dict.auto_id|int) %} {{row.brandstof_type.name}}
Tagged: