mirror of https://github.com/django/django.git
Added robots meta tag to views.static.serve to block robots from indexing and archiving the directory-index static view.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1452 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
a2527ebe77
commit
0cb2a00369
|
@ -55,6 +55,7 @@ DEFAULT_DIRECTORY_INDEX_TEMPLATE = """
|
|||
<head>
|
||||
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
||||
<meta http-equiv="Content-Language" content="en-us" />
|
||||
<meta name="robots" content="NONE,NOARCHIVE" />
|
||||
<title>Index of {{ directory }}</title>
|
||||
</head>
|
||||
<body>
|
||||
|
|
Loading…
Reference in New Issue