0
我第一次嘗試使用lektor:我想爲建築作品記錄創建我自己的數據模型。 我有checkboxes
和一個奇怪的輸出中lists
,如:lektor複選框`[u'`輸出錯誤?
[u'corporate & commercial', u'interiors']
凡poject.ini
是
[fields.type]
label = Project type
type = checkboxes
choices = corporate & commercial, residential, interiors, public,hotel/tourism, university, art gallery, restoration, spa, auditorium, installations, landscape
choice_labels = corporate & commercial, residential, interiors, public, hotel/tourism, university, art gallery, restoration, spa, auditorium, installations, landscape
和project.html
有:
{% if this.type %}
<tr>
<th scope="row">Type</th>
<td>{{ this.type}}</td>
</tr>
{% endif %}
哪裏是在輸出中那些[u'
未來從?我錯過了什麼?
謝謝
AR (在Win 7/64運行LEKTOR 3.0.1)