Skip to content

Commit 443a778

Browse files
committed
Fix Django schema deprecation
1 parent 57194a5 commit 443a778

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

settings.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,10 @@
259259
}
260260
]
261261

262+
# Assume all URLField will be HTTPS if not specified.
263+
# We can remove this once we bump to Django 6.0
264+
FORMS_URLFIELD_ASSUME_HTTPS = True
265+
262266
# Enable the debug toolbar if requested
263267
if DEBUG_TOOLBAR:
264268
MIDDLEWARE = ['debug_toolbar.middleware.DebugToolbarMiddleware', *list(MIDDLEWARE)]

0 commit comments

Comments
 (0)