Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions django-stubs/conf/global_settings.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -547,3 +547,10 @@ SECURE_SSL_REDIRECT: bool
##################
SECURE_CSP: Mapping[str, Collection[str] | str]
SECURE_CSP_REPORT_ONLY: Mapping[str, Collection[str] | str]

####################
# django-stubs-ext settings #
Copy link
Member

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

####################

TASKS: dict[str, dict[str, Any]]
Copy link
Member

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.

URLIZE_ASSUME_HTTPS: bool
3 changes: 0 additions & 3 deletions scripts/stubtest/allowlist_todo_django60.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
django.conf.FORMS_URLFIELD_ASSUME_HTTPS_DEPRECATED_MSG
django.conf.global_settings.FORMS_URLFIELD_ASSUME_HTTPS
Copy link
Member

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.conf.global_settings.TASKS
django.conf.global_settings.URLIZE_ASSUME_HTTPS
django.contrib.admin.AdminSite.password_change_form
django.contrib.admin.ModelAdmin.log_deletion
django.contrib.admin.models.LogEntryManager.log_action
Expand Down
Loading