Hi Sir, Thank you for the tutorial. Our Django app (client side) use AJAX to get response from an external Server side. My question is what is considered the Server here? Is Django database the server here?
@@CodeBand Your tutorials have been so helpful among a bunch of tutorials i find on youtube. Yes is is the logic i am talking of. Can you help me with the logic or do you have a recommended book for me to get. Thank you.
Thanks for the tutorial! Can you please show us how to validate the form through ajax. (knowing there might be multiple kind of errors of one field. Thanks again!
Glad to hear that...👍🏻As far as the form validations are concerned, there are a couple of options, you can use Django forms and validate and then return the form errors to the front end directly and modify them in JS OR modify in form.errors in the backend and send the response. Either way, good approach.
@@CodeBand Thanks for your prompt reply Lets say i have everything ready in forms .py i only need ajax to show these errors if form is invalid. Can you make a video of how to return these errors in ajax call.
amazing! thank u so much for the content
Bro, you are a life saver
Thanks a lot..😊
Thanks you a lot !
Welcome ...and keep supporting...:)
Awesome
Thank you and keep supporting.. :)
Great! Thanks
Welcome brother... keep supporting.. :)
@@CodeBand Sure!
Hi Sir, Thank you for the tutorial.
Our Django app (client side) use AJAX to get response from an external
Server side. My question is what is considered the Server here? Is Django database the server here?
AJAX is used in conjunction with JS. (So, the client side is JS here...). We invoke our Django app. (server side) from there...
Bravo
😊
@@CodeBand hi codeband, how do I create a follow user or post like. Trying to create a mini social network with django.
How do I implement them. Something like Facebook like and Facebook follow.
@@OdewoleSegunFaithSuccess You can pretty much use the same pattern as I discussed in this video, the only thing changes is the logic.
@@CodeBand Your tutorials have been so helpful among a bunch of tutorials i find on youtube.
Yes is is the logic i am talking of. Can you help me with the logic or do you have a recommended book for me to get. Thank you.
subscribed
Thanks a lot👍🏻
Awesome dude this is so simple, but can you please tell me, in my form i have image so how can i send image with ajax
For that, u just need to use FormData in JS
Thanks for the tutorial!
Can you please show us how to validate the form through ajax.
(knowing there might be multiple kind of errors of one field. Thanks again!
Glad to hear that...👍🏻As far as the form validations are concerned, there are a couple of options, you can use Django forms and validate and then return the form errors to the front end directly and modify them in JS OR modify in form.errors in the backend and send the response.
Either way, good approach.
@@CodeBand Thanks for your prompt reply
Lets say i have everything ready in forms .py i only need ajax to show these errors if form is invalid. Can you make a video of how to return these errors in ajax call.
@@Yda93 I will try to do a video, but still its very easy to implement, you have those validation errors, send it as json, and that's it!
I have a problem related to this concept. Can you help me?
Yeah, sure
can you help me with my problem?
Please post😊