Repository navigation
fix: add django42, django52 support - #261
Merged
Merged
Conversation
hinakhadim
force-pushed
the
django52support
branch
from
April 18, 2025 07:23
22712c9 to
5d33c59
Compare
awais786
approved these changes
Apr 21, 2025
|
Django 5.2 is already included in base.txt, but to maintain consistency with the existing pattern, we're adding support for both 4.2 and 5.2. |
feanil
requested changes
Apr 22, 2025
feanil
left a comment
Contributor
There was a problem hiding this comment.
It looks like the 5.2 tests aren't being run, you probably need to modify the workflow.yml file to make sure that they're running.
hinakhadim
force-pushed
the
django52support
branch
from
April 23, 2025 07:45
a7e1016 to
bdedc95
Compare
Contributor
Author
|
Thanks for mentioning. I have updated the workflow file to run tests for django4.2 (Previously, tests were only running for django5.2). Now, it is running for both django4.2 and django5.2 |
feanil
approved these changes
Apr 23, 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.
Add Django 5.2 Support
This PR updates the codebase to be compatible with Django 5.2 while maintaining compatibility with Django 4.2.
Changes Made:
ciandtoxfilesdjango-upgradeto apply necessary syntax updates for Django 5.2.toxcommand and resolved the warningdjango-upgrade usage:
I ran command
git ls-files -z -- '*.py' | xargs -0r django-upgrade --target-version 5.2