PSA: the form must have the same prefix in both views #15
suspiciousRaccoon
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I spent 2 days trying to debug why this didn't work with HTMX in my application but worked fine in a MRE. The problem ended up being that I had a prefix in the main form and I wasn't adding that prefix in the form that gets data from request.GET.
I'm not sure if adding a note about this to the README.md is necessary, but I figured I'd leave this here in case someone found the same problem.
All reactions