diff --git a/src/apps.json b/src/apps.json
index 928eab57f..cdcb597dd 100644
--- a/src/apps.json
+++ b/src/apps.json
@@ -2475,7 +2475,7 @@
"cats": [
18
],
- "html": "(?:powered by ]+>Django ?([\\d.]+)?|]*name=[\"']csrfmiddlewaretoken[\"'][^>]*>)\\;version:\\1",
+ "html": "(?:powered by ]+>Django ?([\\d.]+)?<\/a>|]*name=[\"']csrfmiddlewaretoken[\"'][^>]*>)\\;version:\\1",
"icon": "Django.png",
"implies": "Python",
"js": {