From c3218df28e0a90f5575bc5368d9148feee5c83e2 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Tue, 25 Aug 2020 23:15:08 +0200 Subject: [PATCH] Fix test warning --- articles/context_processors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/articles/context_processors.py b/articles/context_processors.py index 2332c2d..8470e66 100644 --- a/articles/context_processors.py +++ b/articles/context_processors.py @@ -10,4 +10,4 @@ def drafts_count(request): def date_format(request): - return {"CUSTOM_ISO": "Y-m-d\TH:i:sO"} + return {"CUSTOM_ISO": r"Y-m-d\TH:i:sO"}