From 3b7c4789c27d46bbe99bbbd0d24c3cd500c4db94 Mon Sep 17 00:00:00 2001 From: Guillaume Englert Date: Fri, 29 Jan 2021 14:52:34 +0100 Subject: [PATCH] Django's version is now "3.0". Notes: - django.utils.encoding.force_text() => force_str() - django.utils.html.escape() converts now ' to ' instead of '. - django.utils.http.urlquote() => urllib.parse.quote() - django.utils.http.is_safe_url() => url_has_allowed_host_and_scheme() - Use the old ContentType__str__() method. - The decorator @xframe_options_sameorigin has been used on views which are designed to be displayed in