This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from MySQLdb import cursors | |
from flask import request | |
class DataTablesServer(object): | |
def __init__( self, request, columns, index, table, cursor): | |
self.columns = columns | |
self.index = index | |
self.table = table | |
# values specified by the datatable for filtering, sorting, paging |