Pegase745 / sqlalchemy-datatables

SQLAlchemy integration of jQuery DataTables >= 1.10.x (Pyramid and Flask examples)
MIT License
159 stars 67 forks source link

Flask not working #87

Closed caseydm closed 7 years ago

caseydm commented 7 years ago

I tried to use this in a flask application but am getting a server 500 error. I noticed in the README you say 'it is currently not working with flask'. Do you have a hunch on what the problem is? Maybe there is a way I can help? I would love to get this working.

Pegase745 commented 7 years ago

@caseydm can you pull the master branch once again and follow the instructions in this README file please? I fixed it, and hope it works for you too

caseydm commented 7 years ago

@Pegase745 I figured out the error and it was not a bug like I thought. The 500 error was due to a JSON serialization issue with a datetime field. The app is working great with Flask! Thank you for developing it.

Pegase745 commented 7 years ago

@caseydm there was a problem with the example, but great to hear that everything is ok :)