From 85bb33494aa19cbbbb65d7fda3fe96f9c4487da1 Mon Sep 17 00:00:00 2001 From: Pavel 'LEdoian' Turinsky Date: Tue, 16 Feb 2021 05:02:38 +0100 Subject: [PATCH] More fixups Python has strong ~~opinions~~ types. --- 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 4919002..40c0f3a 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(django.VERSION), + "GENERATOR": "Django " + ".".join(map(str, django.VERSION)), }