Move django_language cookie detection from Django CMS to Django

`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.
main
Thibaud Colas 3 years ago committed by GitHub
parent 00256a4331
commit 4fa7fbb648
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -736,6 +736,9 @@
"html": "(?:powered by <a[^>]+>Django ?([\\d.]+)?<\\/a>|<input[^>]*name=[\"']csrfmiddlewaretoken[\"'][^>]*>)\\;version:\\1", "html": "(?:powered by <a[^>]+>Django ?([\\d.]+)?<\\/a>|<input[^>]*name=[\"']csrfmiddlewaretoken[\"'][^>]*>)\\;version:\\1",
"icon": "Django.png", "icon": "Django.png",
"implies": "Python", "implies": "Python",
"cookies": {
"django_language": ""
},
"js": { "js": {
"__admin_media_prefix__": "", "__admin_media_prefix__": "",
"django": "" "django": ""
@ -747,9 +750,6 @@
"cats": [ "cats": [
1 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.", "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", "icon": "Django CMS.png",
"implies": [ "implies": [
@ -1361,4 +1361,4 @@
"scriptSrc": "deepMiner\\.js", "scriptSrc": "deepMiner\\.js",
"website": "https://github.com/deepwn/deepMiner" "website": "https://github.com/deepwn/deepMiner"
} }
} }