Django Live Data Display Using Ajax || How to

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.ย. 2024

ความคิดเห็น • 37

  • @lucaion3628
    @lucaion3628 3 ปีที่แล้ว +1

    oh boy, thanks a lot. I really needed this, it helped a lot

  • @TechSolvee
    @TechSolvee 4 ปีที่แล้ว +1

    thanks, brother! This is really really helpful!

  •  4 ปีที่แล้ว +1

    Helpful, thank you!

  • @borakportlegacy3138
    @borakportlegacy3138 ปีที่แล้ว

    Thank you friend for sharing ❤️

    • @CodewithSJ
      @CodewithSJ  ปีที่แล้ว

      Thank you too!
      Do Subscribe for more Python & Django related content

  • @dulquerkawsar
    @dulquerkawsar 4 ปีที่แล้ว

    Very Helpful Tanks a Lot❤️💛💚

  • @ioananadia4603
    @ioananadia4603 3 ปีที่แล้ว

    Amazing!!!!! Thanks!!!

  • @bsad6774
    @bsad6774 4 ปีที่แล้ว

    Very helpful tanks a lot

    • @CodewithSJ
      @CodewithSJ  4 ปีที่แล้ว

      We are glad that our video could help you! 🍎

  • @aminnk7627
    @aminnk7627 ปีที่แล้ว

    Thanks broo😊😊😊

    • @CodewithSJ
      @CodewithSJ  ปีที่แล้ว

      Happy to help 😊

  • @mukibulhasan
    @mukibulhasan 3 ปีที่แล้ว +1

    good video brother, can you please increase the font size; so that it is easier to see

    • @CodewithSJ
      @CodewithSJ  3 ปีที่แล้ว

      Will make sure i increase it next time

  • @yannamani_r
    @yannamani_r 4 ปีที่แล้ว

    Thanks man, it was very helpful
    how about if we have data field from a different mode/table ex. "Company Name" how can we add into the current table ?
    could you please help !!

    • @CodewithSJ
      @CodewithSJ  4 ปีที่แล้ว

      Thanks a lot, you can handle this in views and only pass the fields you need. Please feel free to email us for any query

  • @SachinSharma-bk2lg
    @SachinSharma-bk2lg ปีที่แล้ว

    The video is very understanding and clear!!
    Sir my question is this a very legit way of implementing such thing,
    will this work efficiently in production
    making a function call every second
    clearing the table, again recreating the table
    if there another way of implimenting such functionality?

    • @CodewithSJ
      @CodewithSJ  ปีที่แล้ว

      Yes,
      We can use VueJs in frontend and append the new data and it will be reflected in the table

  • @sylarbradley4384
    @sylarbradley4384 3 ปีที่แล้ว

    thank you!
    can i skip delay for first time setinterval ?

    • @CodewithSJ
      @CodewithSJ  3 ปีที่แล้ว

      try to put the timer into a variable or create 2 functions with different intervals

  • @jacksonbriggs2332
    @jacksonbriggs2332 4 ปีที่แล้ว

    Very helpful bro, can u button to delete or update the object

    • @CodewithSJ
      @CodewithSJ  4 ปีที่แล้ว

      Thanks a lot, will do it soon do subscribe and keep for the video

    • @CodewithSJ
      @CodewithSJ  4 ปีที่แล้ว

      th-cam.com/video/jLG8ZFcGiZk/w-d-xo.html

  • @datnguyen-fh2kg
    @datnguyen-fh2kg 3 ปีที่แล้ว

    Now I want to reverse the display order when getting data from the database . How can i do it ? Thank you so much =))

    • @djangoforbeginners1859
      @djangoforbeginners1859 3 ปีที่แล้ว +1

      This should display most recent users at the top of list
      line 10 in views.py
      queryset=models.User.objects.all().order_by("-id")[0:20]

  • @mandyghadigaokar2167
    @mandyghadigaokar2167 2 ปีที่แล้ว +1

    thank you I have a question how can we add edit button and delete button in the table

    • @CodewithSJ
      @CodewithSJ  2 ปีที่แล้ว

      th-cam.com/video/jLG8ZFcGiZk/w-d-xo.html
      Check this

    • @mandyghadigaokar2167
      @mandyghadigaokar2167 2 ปีที่แล้ว

      how to do this using modal form

    • @mandyghadigaokar2167
      @mandyghadigaokar2167 2 ปีที่แล้ว +1

      please if possible then make video for that ?

    • @CodewithSJ
      @CodewithSJ  2 ปีที่แล้ว

      Okay we'll try to make the video.

  • @danpaul6774
    @danpaul6774 3 ปีที่แล้ว

    Bro cannot append more than 20 times?

  • @envyzhateu9715
    @envyzhateu9715 3 ปีที่แล้ว

    how to use ajax display img bro ?

    • @CodewithSJ
      @CodewithSJ  3 ปีที่แล้ว

      You have to pass the file as formData and while displaying use the file path.

    • @envyzhateu9715
      @envyzhateu9715 3 ปีที่แล้ว

      @@CodewithSJ thx bro , one more question
      can use ajax display foreign key in django

    • @CodewithSJ
      @CodewithSJ  3 ปีที่แล้ว +1

      @@envyzhateu9715 Yes we can do that. But to do that you will have to use Django Rest Framework.

  • @kamalshkeir
    @kamalshkeir 4 ปีที่แล้ว

    wtf?

  • @CodewithSJ
    @CodewithSJ  3 ปีที่แล้ว +1

    *Buy domain & hosting* here : host.shubham-jha.com