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
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 =
please reply here:
http://stackoverflow.com/questions/20656134/python-jquery-datatables-with-mongodbmongoengine
--
https://mail.python.org/mailman/listinfo/python-list
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