Prevent FORMS_URLFIELD_ASSUME_HTTPS warning on Django 5.0

This commit is contained in:
Adam Johnson 2024-05-09 11:08:36 +01:00
parent f37ed87d6e
commit b8e94fd796
2 changed files with 9 additions and 0 deletions

View file

@ -46,6 +46,10 @@ class ConfigurationBase(type):
# suppressed, as downstream users are expected to make a decision. # suppressed, as downstream users are expected to make a decision.
# https://docs.djangoproject.com/en/3.2/releases/3.2/#customizing-type-of-auto-created-primary-keys # https://docs.djangoproject.com/en/3.2/releases/3.2/#customizing-type-of-auto-created-primary-keys
"DEFAULT_AUTO_FIELD", "DEFAULT_AUTO_FIELD",
# FORMS_URLFIELD_ASSUME_HTTPS is a transitional setting introduced
# in Django 5.0.
# https://docs.djangoproject.com/en/5.0/releases/5.0/#id2
"FORMS_URLFIELD_ASSUME_HTTPS"
} }
# PASSWORD_RESET_TIMEOUT_DAYS is deprecated in favor of # PASSWORD_RESET_TIMEOUT_DAYS is deprecated in favor of
# PASSWORD_RESET_TIMEOUT in Django 3.1 # PASSWORD_RESET_TIMEOUT in Django 3.1

View file

@ -3,6 +3,11 @@
Changelog Changelog
--------- ---------
Unreleased
^^^^^^^^^^
- Prevent warning about ``FORMS_URLFIELD_ASSUME_HTTPS`` on Django 5.0.
v2.5.1 (2023-11-30) v2.5.1 (2023-11-30)
^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^