DataTables Example (server-side) - Python Django REST framework

preview_player
Показать описание


熱愛 Python, 希望透過寫程式為社會貢獻,平常喜歡拍程式教學影片幫助想學習的人。
Рекомендации по теме
Комментарии
Автор

Great video! You have no idea how much this helped me. Honestly, you don't need to understand Chinese to get something from the video. Just read what he has written in his script and look it up yourself. DataTables works like a charm in my project now(; Thanks!

julientett
Автор

This looks exactly what i need, but have a question: If i wanted to add the datatables buttons for exporting excel, pdf, print etc to this project - would the export process run fast on large amount of records? Because I have added buttons on a previous project (which is not server side but ajax/json) to export excel for example but browser becomes unresponsive. So I'm wondering if i could use your project and just add export buttons and would automatically run server side with the settings you already have in place or would I have to add more settings in model/view etc? Thanks

youceflaifa
Автор

Thank you so much for your effort. Really helped me to get my work done!!!

SeqBioMusic
Автор

Really great work. Thank you so very much :D

SugavaneshChandrasekaran
Автор

Thanks. It helped me a lot. but your code in github is error in /api/music. ** TypeError("'NoneType' object is not subscriptable", ) is not JSON serializable.
What is the reason for this error?

taewoonjoo
Автор

Hello first of all tank you for this worderful app. It's very useful cause there a lots of paid version out there. I have a question tho. I changed the DB type to microsoft sql server in settings.py with a correct setup and imported a new library. when i run the server i got no error but only this
raise TypeError(f'Object of type {o.__class__.__name__} '
TypeError: Object of type ProgrammingError is not JSON serializable
do you have any idea? Thank a lot!

adrianpitigoi
Автор

您好想請問如果要從rest framework建立自己的api去get值要怎麼做呢?

田恩睿
Автор

Looks like there no "model_utils". Import error in musics/models.py. Could you please push a fix?

albertli