Some more information: I am using Python 2.6.6 with Ubuntu 10.10. The
code I am using is the following:
class patient_table(tables.Table):
check = tables.columns.CheckBoxColumn()
patient_name = tables.Column(accessor='study_fk.patient_fk',
verbose_name='Name', sortable=True)
patient_sex =
tables.Column(accessor='study_fk.patient_fk.patients_sex',
verbose_name='Sex')
patient_birthdate =
tables.Column(accessor='study_fk.patient_fk.patients_birthdate',
verbose_name='Date of birth')
patient_age =
tables.Column(accessor='study_fk.patient_fk.get_age',
verbose_name='Age')
#study_date = tables.Column(accessor='study_fk.get_datetime')
modality = tables.Column(accessor='station_fk.modality')
station = tables.Column(accessor='station_fk.station_name')
description =
tables.Column(accessor='study_fk.requested_procedure_fk')
scheduled_procedure_step_status =
tables.Column(verbose_name='Status')
priority =
tables.Column(accessor='study_fk.requested_procedure_fk.requested_procedure_priority')
ref_physician =
tables.Column(accessor='study_fk.imaging_service_request_fk.physician_fk',
verbose_name='Referring physician')
per_physician = tables.Column(accessor='physician_fk',
verbose_name='Performing physician')
class Meta:
attrs = {'class': 'paleblue'}
Worked with 0.3(with the different notation), but now nothing happens.
The <a href> are always empty. I remember that there was the link in
it. Help is really appreciated.