Closes #18857: Fix deprecation warnings (#18858)

This commit is contained in:
Jeremy Stretch
2025-03-10 17:40:08 -04:00
committed by GitHub
parent a9fd191086
commit 292463c0de
4 changed files with 5 additions and 3 deletions

View File

@@ -515,7 +515,7 @@ class CustomField(CloningMixin, ExportTemplatesMixin, ChangeLoggedModel):
# URL
elif self.type == CustomFieldTypeChoices.TYPE_URL:
field = LaxURLField(required=required, initial=initial)
field = LaxURLField(assume_scheme='https', required=required, initial=initial)
# JSON
elif self.type == CustomFieldTypeChoices.TYPE_JSON: