summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Kaplan-Moss <jacob@jacobian.org>2005-11-14 18:50:13 +0000
committerJacob Kaplan-Moss <jacob@jacobian.org>2005-11-14 18:50:13 +0000
commit065dd334de34940a7703b09bbbd4567b55d10598 (patch)
treea5d296a396f5bbf70d074ce09fa947f95cd91523
parent0710243ea12f9f88189197703d4c2e9e2e9fe741 (diff)
downloaddjango-065dd334de34940a7703b09bbbd4567b55d10598.tar.gz
Added NOINDEX tag to debug 500 page (for robots)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1234 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/views/debug.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/django/views/debug.py b/django/views/debug.py
index 2d3b7e9150..d5323c0b59 100644
--- a/django/views/debug.py
+++ b/django/views/debug.py
@@ -93,6 +93,7 @@ TECHNICAL_500_TEMPLATE = """
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <meta name="robots" content="NONE,NOARCHIVE" />
<title>{{ exception_type }} at {{ request.path }}</title>
<style type="text/css">
html * { padding:0; margin:0; }