From db66e6e8eb609ff0c4de2464d2a2d8113915b1c0 Mon Sep 17 00:00:00 2001 From: Pavel 'LEdoian' Turinsky Date: Sun, 2 Jan 2022 02:47:35 +0100 Subject: [PATCH] Beautify django version in footer --- utils/context_processors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/context_processors.py b/utils/context_processors.py index 40c0f3a..9ccaa04 100644 --- a/utils/context_processors.py +++ b/utils/context_processors.py @@ -2,5 +2,5 @@ import django def universal_context(req): return { - "GENERATOR": "Django " + ".".join(map(str, django.VERSION)), + "GENERATOR": "Django " + django.get_version(), }