-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Move our application settings to a READTHEDOCS prefix on our settings #5586
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
Comments
@davidfischer I would like to work on this after #5588 gets merged but I'm not quite sure what @agjohnson means by |
@saadmk11 all the settings that we have in |
@stsewd Thanks a lot for the clarification :) |
@stsewd I was working on this issue, working with settings for the first time and I was unable to understand whether we should make changes to the |
I think every setting that we define should be prefixed with |
Cool then, I'll segregate things as such then. |
I see no one submitted PR on this issue can I work on it? |
@Iamshankhadeep sure! |
@stsewd work done, review it please. |
There are still more settings to rename |
Do I need to change the name for all setting? |
@Iamshankhadeep yes, but please make separate PRs for each setting so the changes are easy to review. |
Let's please not do a large renaming of our settings in a random way. We really need to make sure we handle these right, and deprecate them properly. Just renaming things randomly is going to break a ton of downstream stuff for no real value. |
I brought up in slack that we should throw deprecation warnings for any of the old settings. We can do this with django's system checks probably. Deprecated settings should be well documented as well, otherwise it's very confusing what settings have changed. |
@stsewd Can I do renaming for Path Variables in |
@Lokesh2703 what path variables? If you are going to rename a setting, make sure to have a way to show they are deprecated. |
To clarify: what's needed here is not only adding |
We have a number of settings that don't have a
READTHEDOCS
prefix and this makes our settings hard to find. The core team would like to consolidate our application settings to use a prefix so that they are easier to find and search for in our code.This is related to how we would like to remove the use of getattr usage in #2140. It's probably either blocked or at least related.
The text was updated successfully, but these errors were encountered: