69 - Auto Save with HTMX & Django - Python & Django 3.2 Tutorial Series

preview_player
Показать описание
69 - Auto Save with HTMX & Django - Python & Django 3.2 Tutorial Series

Try Django 3.2 is a series to teach you the fundamentals of creating web applications with Python & Django by building a real project step-by-step.

Рекомендации по теме
Комментарии
Автор

Cool, Justin ()=> ('High quality content''), Thanks.

eagleofsharm
Автор

does this autosave with form with unique fields and is the same object continuously maintained and not new drafts saved each time?

mikelchi
Автор

This auto-save is really cool! I had no idea it would be so simple. Two things, though.

How viable is this if you have a website with 1000's of users? Would this kind of auto-save done every 500ms cause any slowdown with the server? What about if you had it set to something longer, such as 5 minutes? (Obviously for the app we're working on here that's not practical, but I'm thinking about the webapp I'm developing, where having an auto save every 1 or 5 minutes would be practical)

That brings me to the other thing I noticed. As soon as it auto-saves, you lose the ability to undo, potentially leading to loss of data if you accidentally clear a field or something. Not sure what a workaround would be for this, or if there even is one.

SoulScribbler
Автор

thank you for the hard work you did to explain, its help us a lot , please can make HTMX with like/dislike button .. and HTMX add comment system its realy i need to know a logic to writ the like/dislike button and comment system, thank you

alialrubay
Автор

changed - the event will only change if the value of the element has changed. Please pay attention change is the name of the event and changed is the name of the modifier. Why Change and not changed?

jorgeav-xyz
join shbcf.ru