Detect the Django admin consistently with `window.__admin_media_prefix__`

main
Diederik van der Boor 12 years ago
parent c5bc63af40
commit a87e3b4347

@ -482,7 +482,7 @@
}, },
"Django": { "Django": {
"cats": [ 18 ], "cats": [ 18 ],
"html": "powered by <a[^>]+>Django|<div style=\"display:none\"><input name=\"csrfmiddlewaretoken\" value=\"[a-zA-Z0-9]{32}\" type=\"hidden\"></div>", "html": "powered by <a[^>]+>Django|window.__admin_media_prefix__|<div style=\"display:none\"><input name=\"csrfmiddlewaretoken\" value=\"[a-zA-Z0-9]{32}\" type=\"hidden\"></div>",
"implies": "Python" "implies": "Python"
}, },
"Django CMS": { "Django CMS": {

Loading…
Cancel
Save