当我点击PayPal按钮时,Mozilla Firefox没有打开弹出窗口。服务器返回JSON,但Firefox显示在活动窗口上。我在Chrome中尝试过,它在Chrome上运行良好。
template = '''
{% for item in record.participant_set.all %}
{{ item.participant }}
{% endfor %}
'''
class DailyRecordTable(tables.Table):
date_organised = tables.Column('Date')
program_name = tables.Column( 'Program Name')
venue = tables.Column('Venue')
organiser = tables.Column( 'Organiser')
participant = tables.TemplateColumn(empty_values=(), template_code=template)
class Meta:
model = DailyRecord