From c5bc63af407f3d81b06adcb203331641e172d65b Mon Sep 17 00:00:00 2001 From: Diederik van der Boor Date: Wed, 30 Jan 2013 13:54:10 +0100 Subject: [PATCH 1/3] Also detect Django using the csrfmiddlewaretoken in HTML forms. --- share/apps.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/apps.json b/share/apps.json index 7bfb9fd13..afe36b6cb 100755 --- a/share/apps.json +++ b/share/apps.json @@ -482,7 +482,7 @@ }, "Django": { "cats": [ 18 ], - "html": "powered by ]+>Django", + "html": "powered by ]+>Django|
", "implies": "Python" }, "Django CMS": { From a87e3b4347cc5a5e637961ba7957c1931814f51c Mon Sep 17 00:00:00 2001 From: Diederik van der Boor Date: Wed, 30 Jan 2013 14:06:48 +0100 Subject: [PATCH 2/3] Detect the Django admin consistently with `window.__admin_media_prefix__` --- share/apps.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/apps.json b/share/apps.json index afe36b6cb..533aa57ee 100755 --- a/share/apps.json +++ b/share/apps.json @@ -482,7 +482,7 @@ }, "Django": { "cats": [ 18 ], - "html": "powered by ]+>Django|
", + "html": "powered by ]+>Django|window.__admin_media_prefix__|
", "implies": "Python" }, "Django CMS": { From 78fbe847d8ce6354a86fa1369f83db095efd728b Mon Sep 17 00:00:00 2001 From: Diederik van der Boor Date: Thu, 31 Jan 2013 06:40:24 +0100 Subject: [PATCH 3/3] Include `window.__admin_media_prefix__` as real variable detection. As suggested by @ElbertF --- share/apps.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/share/apps.json b/share/apps.json index 533aa57ee..5c8a527af 100755 --- a/share/apps.json +++ b/share/apps.json @@ -482,7 +482,8 @@ }, "Django": { "cats": [ 18 ], - "html": "powered by ]+>Django|window.__admin_media_prefix__|
", + "html": "powered by ]+>Django|
", + "env": "__admin_media_prefix__", "implies": "Python" }, "Django CMS": {