Re: python - jquery datatables with mongodb(mongoengine)

2013-12-19 Thread Peter Otten
renier de bruyn wrote: > UPDATE: > > So now I got this code: > > import pymongo > from pyramid_mongo import get_db > > # translation for sorting between datatables api and mongodb > order_dict = {'asc': 1, 'desc': -1} > > > class DataTables_Handler(object): > def __init__(self, request, c

Re: python - jquery datatables with mongodb(mongoengine)

2013-12-18 Thread renier de bruyn
UPDATE: So now I got this code: import pymongo from pyramid_mongo import get_db # translation for sorting between datatables api and mongodb order_dict = {'asc': 1, 'desc': -1} class DataTables_Handler(object): def __init__(self, request, columns, index, collection): self.columns =

Re: python - jquery datatables with mongodb(mongoengine)

2013-12-18 Thread techno206
please reply here: http://stackoverflow.com/questions/20656134/python-jquery-datatables-with-mongodbmongoengine -- https://mail.python.org/mailman/listinfo/python-list

python - jquery datatables with mongodb(mongoengine)

2013-12-18 Thread techno206
I am new to Python, MongoDB(mongoengine(ODM)) and the pyramid framework as a whole. I am currently working on a project using the above mentioned technologies and I want to use jQuery datatables(also new to this) I found a link on their site on how to use datatables with MongoDB, but it is in