-
-
Notifications
You must be signed in to change notification settings - Fork 528
Django 6.0: add new global settings #2958
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
base: master
Are you sure you want to change the base?
Django 6.0: add new global settings #2958
Conversation
| SECURE_CSP_REPORT_ONLY: Mapping[str, Collection[str] | str] | ||
|
|
||
| #################### | ||
| # django-stubs-ext settings # |
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 is not our settings, they are not related to django-stubs-ext
| @@ -1,7 +1,4 @@ | |||
| django.conf.FORMS_URLFIELD_ASSUME_HTTPS_DEPRECATED_MSG | |||
| django.conf.global_settings.FORMS_URLFIELD_ASSUME_HTTPS | |||
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 setting is missing from global_settings.py
| # django-stubs-ext settings # | ||
| #################### | ||
|
|
||
| TASKS: dict[str, dict[str, Any]] |
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.
Please, move these settings to proper locations in the file.
| # RemovedInDjango60Warning: It's a transitional setting helpful in early | ||
| # adoption of "https" as the new default value of forms.URLField.assume_scheme. | ||
| # Set to True to assume "https" during the Django 5.x release cycle. | ||
| FORMS_URLFIELD_ASSUME_HTTPS: bool |
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.
Remove the outdated comment too
added global settings stubs support for django 6.0 #2944