@andre I'm fine ignoring file uploads, those are easy enough to recover - what sucks is when you've typed a bunch of prose into a textarea and lose that
-
@andre I'm fine ignoring file uploads, those are easy enough to recover - what sucks is when you've typed a bunch of prose into a textarea and lose that
For submit, I worry that the user might hit submit and a server failure then loses their data... hard to think of a clean way to handle that though, how does the form know that the submit succeeded next time you view it?
-
Simon Willisonreplied to Simon Willison last edited by
@andre a kind of dirty trick would be to timestamp the data when the submit fires and then, on a subsequent page load, if Django is displaying a green "your data has been saved" message assume that any timestamped persisted submit data within last 5 seconds can be safely discarded
Copyright © 2024 NodeBB | Contributors