Conversation
…also had to change the `tests.py` to use 127.0.0.1 rather than localhost for running tests because it seems in newer versions of MySQL localhost defaults to a socket (which was causing me grief) rather than TCP. I think this may help other people, also.
datadavev
approved these changes
Oct 30, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
closes #960
This fixes a security issue with the previous version of Django. (This is a minor version upgrade.)
I ran all the tests which pass. I also ran the api tests and looked at the UI and I don't see any issues.
Along the way I had lots of problems since OS updates have happened for the XCode tools and also broke some things in homebrew and I had to reinstall mysql in homebrew and re-initialize the test database. Because of that I also had to change the
tests.pyto use 127.0.0.1 rather than localhost for running tests because it seems in newer versions of MySQL localhost defaults to a socket (which was causing me grief) rather than TCP unless I change this from localhost to 127.0.0.1. I think this is something with MySQL 9+ maybe since previously 8.4 was installed.If there is any reason to think this will break things for someone else then I can revert, but I suspect it may also cause other people issues if they run into the same problem I did, so committing it.