From bb90d42c5a2c1e76372539b0ed63fbd541d9ed37 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". TODO: re-activate eslint (see .githooks/pre-commit & .githooks/pre-push ) 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