Hello,
I strungle with export of csv... I have this function that works great :
def export_csv(tab1_id):
import gluon.contenttype
response.headers['Content-Type'] = \
gluon.contenttype.contenttype('.csv')
import cStringIO
stream=cStringIO.StringIO()
db((db.tab1.id == t
I want to export the specific table data to csv. I tried the code
after appadmin but I got a "TypeError: 'str' object is not callable"
error. Can you guys help ?
I also want to export the csv file with " " for characters.
Model
--
db.define_table('IQWAGFTY',
Field('TYPRCD
2 matches
Mail list logo