-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Remove the _delegate_text
attribute, which is being removed in django 5.0 (#9274)
#9278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove the _delegate_text
attribute, which is being removed in django 5.0 (#9274)
#9278
Conversation
Let me check if |
So, I took a look at the django commit history. In django 2.2 this function used to be called So django 3+ would be good with this change, and it looks like django 2 is no longer supported in django rest framework. |
yes it is. The right and left parts of this link refer to django 3.2 and django 5.0, respectively, and I don't think there's much difference. |
Okay, I've taken a look and approved because that's what I'm used to doing, tho isn't necessarily the best reflex here. |
I was wondering, how do you get the maintenance credentials (?) to get invited and sign off on certain pull requests? I'm guessing it should probably be people with a thorough understanding of the entire codebase and a proper roadmap, but I'm wondering how we go about picking people who will make sure the project doesn't go off the rails. |
I agree with your view. only people with good enough contributions history. |
The Trio team use this...
Perhaps we could write this (or something similar) into our contribution docs? (Alternately, Jazzband has an automated process...)
|
Would it be a good idea to write a similar article after this section? If we know the details of how to get invited as a contributor, it would be great to write it up. Jazzband is automating that process based on this website, so I guess it's a matter of how we want to structure our policies. |
That seems sensible yep - what policy should we start with? |
Do you have any thoughts on what permissions an invitee might have on our codebase? I think it's appropriate for the invitee to have the following two of the permissions mentioned in
I think they should be able to do this. There are still often PRs in this repository that add functionality that can be solved by third-party packages. I still think it's okay to have a manual review after the first PR submission and then send out invites, as long as it's done by a human who is checking the PR and sending out invites. |
… django 5.0
Note: Before submitting this pull request, please review our contributing guidelines.
Description
This pull request resolves #9274
the implementation of
force_str
in django 3 and django 5 versions doesn't seem to differ much except for a few code styles (https://www.diffchecker.com/kGpPbE3K/)Therefore, I don't think we need to add logic in our code to look at the django version.
the removed
_delegate_text
beingFalse
means "don't expect that object to be a string", so I think addingstrings_only
like the code in the original issue is sufficient.P.S.: If @jayden-arrai can send us a better PR, I'll close this one. I hope this doesn't offend the original issue raiser..