My Django web apps had forms that were working fine with a Linux/Django server
that was A FEW YEARS OLD.
When I UPGRADED the server (newer Linux, Python, Django packages,etc.),
but kept the web app Django source code the same,
I noticed forms do not work unless I replace this:
I think we’re going to need more details here to help figure this out.
What are the symptoms you are seeing?
What errors are you getting?
What url is being requested with action="."?
What were the versions of Python & Django being used before? What have you upgraded them to?
How are you accessing these variables in your view? (Please post the source code for the view that is throwing the error.)
What errors are being generated?
Thanks. The problem completely went away today and I’m not sure why!
To answer your questions about what errors I was seeing…There were no explicit
errors. Rather, when I submitted a form, instead of doing the expected
behavior, I’d be mysteriously redirected to the home page URL.
Have you ever seen that odd form behavior?..Namely, form submissions
just redirect you to the home page when they are not happy?