diff --git a/share/apps.json b/share/apps.json
index 8e20fc122..d80be04ab 100644
--- a/share/apps.json
+++ b/share/apps.json
@@ -941,7 +941,7 @@
"Django": {
"website": "djangoproject.com",
"cats": [ 18 ],
- "html": "(?:powered by ]+>Django ?([\\d.]+)?|)\\;version:\\1",
+ "html": "(?:powered by ]+>Django ?([\\d.]+)?|]*name=[\"']csrfmiddlewaretoken[\"'][^>]*>)\\;version:\\1",
"env": "^__admin_media_prefix__",
"implies": "Python"
},