From e1945feef5f32eabdd8752604bf793884a4a4900 Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 22 Nov 2023 17:05:01 +0000 Subject: [PATCH] fix raw string --- settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings.py b/settings.py index 67c006a..3bd1d14 100644 --- a/settings.py +++ b/settings.py @@ -134,7 +134,7 @@ ACCOUNT_ACTIVATION_DAYS = 3 # AUTH_PROFILE_MODULE = 'core.person' # used by removed profiles app ? -QM_PATTERN = "\[\[\s*[Qq][Mm]:([ABC]?)(\d{4})-(\d*)-(\d*)\]\]" +QM_PATTERN = r"\[\[\s*[Qq][Mm]:([ABC]?)(\d{4})-(\d*)-(\d*)\]\]" # Re-enable TinyMCE when Dj upgraded to v3. Also templates/editexpopage.html # TINYMCE_DEFAULT_CONFIG = {