Hello,

Here my problem:

I would like to add a field in the ticket-modul. The field-content
should be covered from the database. Specially from the table
"session_attribute" (name=company).

Here my code:

<tr py:if="can_modify or can_create">
                  <th><label for="field-company">Company:</label></th>
                  <td class="fullrow" colspan="3">
                    <input type="text" id="field-company"
name="field_company"
 
value="$ticket.setting.session.get(company)}" size="70" />
                  </td>
                </tr>

And the exception:

 Trac detected an internal error:

UndefinedError: None has no member named "get".

Hope you can help.

Best regards





-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to