-
-
Notifications
You must be signed in to change notification settings - Fork 33k
Fixed #26007: Update the doc string on get_template_names of SingleObjectTemplateResponseMixin #18923
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 👍 Just left a couple of comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This point could be debated, but if I were writing this patch I'd separate this into two commits, one for the code change and one for the docs/docstring, since one is behavioral and one is cosmetic. While a bit related, they really are separate issues.
And try to use more specific language in the PR title/commit messages. "Updated docstring to be clearer on the list returned from the function." could apply to anything!
9d4ce13
to
17b7d5a
Compare
Thanks for the comments Tim. I will split this into 2 patches for clarity. This PR now just the doc string changes, I will get another PR for the error message. |
@nanorepublica Two separate commits in the same PR would be OK. (That's right no Tim?) |
🤦♂️ clearly I shouldn't be doing this last thing before the weekend! I will get this sorted when I am next at my laptop |
…ate_names() docs.
…ngleObjectTemplateResponseMixin.get_template_names().
aba15b3
to
0cf3d5a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @nanorepublica ⭐
Trac ticket number
ticket-26007
Branch description
Checklist
main
branch.