django-configurations icon indicating copy to clipboard operation
django-configurations copied to clipboard

Prevent FORMS_URLFIELD_ASSUME_HTTPS warning on Django 5.0

Open adamchainz opened this issue 1 year ago • 2 comments

Prevent this warning:

$ python -Wall manage.py help
/.../django/conf/__init__.py:214: RemovedInDjango60Warning: The FORMS_URLFIELD_ASSUME_HTTPS transitional setting is deprecated.
  warnings.warn(
...

The approach of listing the setting in deprecated_settings is the same as for STORAGES in #349, but it does not need to be conditional.

adamchainz avatar May 09 '24 10:05 adamchainz