Basic CRUD App using HTMX and Flask - Learn HTMX and Flask in 1 hour!

Поделиться
HTML-код
  • Опубликовано: 27 авг 2024

Комментарии • 22

  • @mychromebook9935
    @mychromebook9935 5 месяцев назад +2

    The best tutorial i've seen using flask + htmx. Thank you

  • @Beowolf7308
    @Beowolf7308 7 месяцев назад +6

    Great job of explaining using htmx with Flask. Keep up the good work.👍

  • @tejasvmaheshwari5658
    @tejasvmaheshwari5658 Месяц назад +1

    Thanks for this tutorial it was really really helpful

  • @koniakara
    @koniakara 6 месяцев назад +2

    Great explanation, really helped me take on new projects!

  • @Mullheimer
    @Mullheimer 6 месяцев назад +1

    Been struggling with this. You explained it so well. Thanks!

  • @chriskeo392
    @chriskeo392 3 месяца назад +1

    My guy. You are meant to teach
    Respect 100
    Looking forward to advanced flask htmx series
    Or fastapi htmx series

  • @alexandrgidrevich986
    @alexandrgidrevich986 5 месяцев назад +1

    First 50 mins - very good presented and logically sound tutorial. Last 30 mins tutorial feels rushed and become hard to follow. Ganbatte Kudasai!

  • @ChiefRemoteOfficer
    @ChiefRemoteOfficer 7 месяцев назад +2

    Such a useful video. Thank you!
    But it ends so anti-climactic... :)

  • @malcomk
    @malcomk 3 месяца назад

    16:15 the webpage shows "404 Not found" when I go to "/posts". Any idea...? Seems like the folder's name become a part of url on his instruction but not on my codes. Is it because I am using windows computer..?

  • @tchnque2234
    @tchnque2234 7 месяцев назад

    What about returning a send_file()? im having some issues doing this with the url_for, CODE: Download this switches the button out for the files binary out put but id like it to just function as a button the the route download

    • @ZainAli-ry8sf
      @ZainAli-ry8sf 5 месяцев назад

      i think you need to use trigger property also

  • @subramanianchenniappan4059
    @subramanianchenniappan4059 7 месяцев назад

    Can this call a java backend restful api . I am a java backend lead working somewhere . Asking for a personal project

    • @PatrickSteil
      @PatrickSteil 5 месяцев назад

      HTMX can call any api as long as it returns HTML :)

  • @ErnestoConfused
    @ErnestoConfused 5 месяцев назад

    you look like you've got impeccable taste in anime

  • @aman4069
    @aman4069 4 месяца назад

    i think you forgot to put the post validation

    • @teprox7690
      @teprox7690 10 дней назад

      the validation was the only that I want to see 🤣and it never comes. But very nice Tutorial! ❤❤❤

  • @alexandrgidrevich986
    @alexandrgidrevich986 5 месяцев назад +1

    Error with DB import:
    File "/home/**/flasky/server.py", line 2, in
    from .db import sample_db
    ImportError: attempted relative import with no known parent package

    • @alexandrgidrevich986
      @alexandrgidrevich986 5 месяцев назад +1

      Solution:
      import sys
      sys.path.append("/home/**/flasky/")
      from db import sample_db

    • @gintokisakata9148
      @gintokisakata9148 4 месяца назад

      @@alexandrgidrevich986Thank You so much for this ! I ran into the same issue... your solution worked😊

    • @gintokisakata9148
      @gintokisakata9148 4 месяца назад

      Also for anyone using windows, point sys.path to the root folder where db is saved for example db was in folder crud-htmx-flask, so
      import sys
      sys.path.append("C:\crud-htmx-flask")
      from db import sample_db