From 4fa7fbb648bc87d4e4f2f60d8c70fa77c441142b Mon Sep 17 00:00:00 2001 From: Thibaud Colas Date: Fri, 25 Feb 2022 22:04:45 +0000 Subject: [PATCH] Move django_language cookie detection from Django CMS to Django MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `django_language` is the default cookie name for all Django projects that use Django’s translation support, it’s not specific to Django CMS. See https://docs.djangoproject.com/en/3.2/ref/settings/#std:setting-LANGUAGE_COOKIE_NAME. --- src/technologies/d.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/technologies/d.json b/src/technologies/d.json index 277bf9c8c..7957d3933 100644 --- a/src/technologies/d.json +++ b/src/technologies/d.json @@ -736,6 +736,9 @@ "html": "(?:powered by ]+>Django ?([\\d.]+)?<\\/a>|]*name=[\"']csrfmiddlewaretoken[\"'][^>]*>)\\;version:\\1", "icon": "Django.png", "implies": "Python", + "cookies": { + "django_language": "" + }, "js": { "__admin_media_prefix__": "", "django": "" @@ -747,9 +750,6 @@ "cats": [ 1 ], - "cookies": { - "django_language": "" - }, "description": "Django CMS is a free and open source content management system platform for publishing content on the World Wide Web and intranets.", "icon": "Django CMS.png", "implies": [ @@ -1361,4 +1361,4 @@ "scriptSrc": "deepMiner\\.js", "website": "https://github.com/deepwn/deepMiner" } -} \ No newline at end of file +}