Fixed #29983 -- Replaced os.path() with pathlib.Path in project template and docs.#12005
Fixed #29983 -- Replaced os.path() with pathlib.Path in project template and docs.#12005carltongibson merged 1 commit intodjango:masterfrom jdufresne:pathlib
Conversation
|
Thanks for the review! I've made the suggested simplifications and included a note in the release notes. If you have suggestions on the wording, let me know. |
There was a problem hiding this comment.
Hi @jdufresne. Thanks again for this. In theory, yes great.
Can you see @claudep's comment on the ticket:
I'm not sure if various Django settings requiring a path (template DIRS, STATIC/MEDIA_ROOT, etc.) all support path inputs. Shouldn't we check and add tests for those before changing the project settings template?
We have had regressions pop-up from moving the Path. This is probably sensible to audit and add coverage. What do you think?
|
Makes sense. I'll try to identify all settings that could use a |
Hey @jdufresne — Thanks for all the related PRs. Great stuff. More incoming? |
|
Hi Carlton, I have a few more settings to verify before rebasing this PR. Just one example is |
|
All settings now have a test in PR #12042. |
|
Awesome work! |
…ate and docs. Thanks Curtis Maloney for the original patch.
carltongibson
left a comment
There was a problem hiding this comment.
Great stuff. Thank you for your sterling work on this @jdufresne! 🥇
https://code.djangoproject.com/ticket/29983