form GET requests and forms with action = "." stopped working after moved Django app to new upgraded server!?

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:

<form action = "." method = "post"> 

with just

<form method = "post">

Also, I used to pass GET variables in URLs like https://mywebapp.com/somepage/?a=3&b=4

Now that seems to throw an error.

What changed in newer versions to make this happen?

Perhaps Django locked down GETs for security reasons?
Why would action = “.” be problematic?

Any help greatly appreciated.

Sincerely,

Chris

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?

No, it has not.

Never say “an error”. Copy paste the exact error. We can’t guess what the error is!

Ken & boxed

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?

Chris

Not without there being a reasonable explanation, no.