Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
  • Loading branch information...
commit 065dd334de34940a7703b09bbbd4567b55d10598 1 parent 0710243
@jacobian jacobian authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  django/views/debug.py
View
1  django/views/debug.py
@@ -93,6 +93,7 @@ def _get_lines_from_file(filename, lineno, context_lines):
<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; }
Please sign in to comment.
Something went wrong with that request. Please try again.